/*
 Navicat Premium Dump SQL

 Source Server         : 127Root
 Source Server Type    : MariaDB
 Source Server Version : 101002 (10.10.2-MariaDB-1:10.10.2+maria~ubu2204)
 Source Host           : 127.0.0.1:3306
 Source Schema         : melon

 Target Server Type    : MariaDB
 Target Server Version : 101002 (10.10.2-MariaDB-1:10.10.2+maria~ubu2204)
 File Encoding         : 65001

 Date: 18/12/2024 21:21:21
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ACT_EVT_LOG
-- ----------------------------
DROP TABLE IF EXISTS `ACT_EVT_LOG`;
CREATE TABLE `ACT_EVT_LOG` (
  `LOG_NR_` bigint(20) NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `TIME_STAMP_` timestamp NOT NULL DEFAULT current_timestamp(),
  `USER_ID_` varchar(255) DEFAULT NULL,
  `DATA_` longblob DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `LOCK_TIME_` timestamp NULL DEFAULT NULL,
  `IS_PROCESSED_` tinyint(4) DEFAULT 0,
  PRIMARY KEY (`LOG_NR_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_EVT_LOG
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_GE_BYTEARRAY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_GE_BYTEARRAY`;
CREATE TABLE `ACT_GE_BYTEARRAY` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) DEFAULT NULL,
  `BYTES_` longblob DEFAULT NULL,
  `GENERATED_` tinyint(4) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_BYTEARR_DEPL` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_BYTEARR_DEPL` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `ACT_RE_DEPLOYMENT` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_GE_BYTEARRAY
-- ----------------------------
BEGIN;
INSERT INTO `ACT_GE_BYTEARRAY` (`ID_`, `REV_`, `NAME_`, `DEPLOYMENT_ID_`, `BYTES_`, `GENERATED_`) VALUES ('2', 5, 'source', NULL, 0x7B227265736F757263654964223A2231222C2270726F70657274696573223A7B2270726F636573735F6964223A22464C4F5730303031222C226E616D65223A22E5B7A5E4BD9CE6B58130303031222C22646F63756D656E746174696F6E223A22E5A487E6B3A8EFBC9AE7ACAC30303031E4B8AAE6B58BE8AF95E6B581E7A88B222C2270726F636573735F617574686F72223A2230303030222C2270726F636573735F76657273696F6E223A2230222C2270726F636573735F6E616D657370616365223A22687474703A2F2F7777772E61637469766974692E6F72672F70726F63657373646566222C2270726F636573735F74797065223A317D2C227374656E63696C223A7B226964223A2242504D4E4469616772616D227D2C226368696C64536861706573223A5B7B227265736F757263654964223A227369642D31434636384436442D423838392D344338332D423731462D373639313738313639343230222C2270726F70657274696573223A7B226F766572726964656964223A2253746172744E6F6E654576656E7431373332343434333738323535222C226E616D65223A22E5BC80E5A78BE4BA8BE4BBB631222C22646F63756D656E746174696F6E223A22E697A0E789B9E5AE9AE8A7A6E58F91E599A8E79A84E5BC80E5A78BE4BA8BE4BBB6227D2C227374656E63696C223A7B226964223A2253746172744E6F6E654576656E74227D2C226368696C64536861706573223A5B5D2C226F7574676F696E67223A5B7B227265736F757263654964223A227369642D39314542413733352D463044432D343546392D383539392D453237383943303246343143227D5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A3139342E352C2279223A3330307D2C2275707065724C656674223A7B2278223A3136342E352C2279223A3237307D7D2C22646F636B657273223A5B5D7D2C7B227265736F757263654964223A227369642D31323938424535342D444235412D344535322D383139422D364535324334413445393035222C2270726F70657274696573223A7B226F766572726964656964223A22557365725461736B31373332343434333830343638222C226E616D65223A22E794A8E688B7E4BBBBE58AA131222C22757365727461736B61737369676E6D656E74223A7B2261737369676E656554797065223A222355534552222C2261737369676E656556616C7565223A2261646D696E222C2261737369676E656544657363223A22E7939CE7939C2861646D696E29222C2273656C6563746564223A7B2261737369676E436F6465223A2261646D696E222C2261737369676E4E616D65223A22E7939CE7939C222C2261737369676E44657363223A227279403136332E636F6D227D2C2261737369676E6D656E74223A7B2261737369676E6565223A2223555345527B61646D696E7D227D7D2C22636370656F706C65223A22222C226564697461626C656175646974223A22E590A6222C226772616465223A2232222C2272656C6174696F6E223A2231222C22697361737369676E223A66616C73652C226D756C7469696E7374616E63655F74797065223A224E6F6E65222C22697376616C6964617465223A2266616C7365222C226D756C7469696E7374616E63655F636F6C6C656374696F6E223A22222C226D756C7469696E7374616E63655F7661726961626C65223A22222C22646F63756D656E746174696F6E223A226363733D5C225C223B6564697461626C653D5C22305C223B67726164653D5C22325C223B72656C6174696F6E3D5C22315C223B697361737369676E3D5C225C223B697376616C69646174653D5C2266616C73655C223B227D2C227374656E63696C223A7B226964223A22557365725461736B227D2C226368696C64536861706573223A5B5D2C226F7574676F696E67223A5B7B227265736F757263654964223A227369642D30314535304631352D384439442D343933412D394233312D423741463545363841374433227D5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A3334302C2279223A3332357D2C2275707065724C656674223A7B2278223A3234302C2279223A3234357D7D2C22646F636B657273223A5B5D7D2C7B227265736F757263654964223A227369642D39314542413733352D463044432D343546392D383539392D453237383943303246343143222C2270726F70657274696573223A7B226F766572726964656964223A22222C226E616D65223A22222C22646F63756D656E746174696F6E223A22222C22636F6E646974696F6E73657175656E6365666C6F77223A22222C2264656661756C74666C6F77223A2266616C7365227D2C227374656E63696C223A7B226964223A2253657175656E6365466C6F77227D2C226368696C64536861706573223A5B5D2C226F7574676F696E67223A5B7B227265736F757263654964223A227369642D31323938424535342D444235412D344535322D383139422D364535324334413445393035227D5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A3233392E37393239363837352C2279223A3238357D2C2275707065724C656674223A7B2278223A3139352E31373537383132352C2279223A3238357D7D2C22646F636B657273223A5B7B2278223A31352C2279223A31357D2C7B2278223A35302C2279223A34307D5D2C22746172676574223A7B227265736F757263654964223A227369642D31323938424535342D444235412D344535322D383139422D364535324334413445393035227D7D2C7B227265736F757263654964223A227369642D35424341303831392D394238452D343637422D424337322D433137333032453333363439222C2270726F70657274696573223A7B226F766572726964656964223A22456E644E6F6E654576656E7431373332343434333938333330222C226E616D65223A22E7BB93E69D9FE4BA8BE4BBB631222C22646F63756D656E746174696F6E223A22E697A0E789B9E5AE9AE8A7A6E58F91E599A8E79A84E7BB93E69D9FE4BA8BE4BBB6227D2C227374656E63696C223A7B226964223A22456E644E6F6E654576656E74227D2C226368696C64536861706573223A5B5D2C226F7574676F696E67223A5B5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A3431322E352C2279223A3239397D2C2275707065724C656674223A7B2278223A3338342E352C2279223A3237317D7D2C22646F636B657273223A5B5D7D2C7B227265736F757263654964223A227369642D30314535304631352D384439442D343933412D394233312D423741463545363841374433222C2270726F70657274696573223A7B226F766572726964656964223A22222C226E616D65223A22222C22646F63756D656E746174696F6E223A22222C22636F6E646974696F6E73657175656E6365666C6F77223A22222C2264656661756C74666C6F77223A2266616C7365227D2C227374656E63696C223A7B226964223A2253657175656E6365466C6F77227D2C226368696C64536861706573223A5B5D2C226F7574676F696E67223A5B7B227265736F757263654964223A227369642D35424341303831392D394238452D343637422D424337322D433137333032453333363439227D5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A3338332E393337352C2279223A3238357D2C2275707065724C656674223A7B2278223A3334302E313634303632352C2279223A3238357D7D2C22646F636B657273223A5B7B2278223A35302C2279223A34307D2C7B2278223A31342C2279223A31347D5D2C22746172676574223A7B227265736F757263654964223A227369642D35424341303831392D394238452D343637422D424337322D433137333032453333363439227D7D5D2C22626F756E6473223A7B226C6F7765725269676874223A7B2278223A313230302C2279223A313035307D2C2275707065724C656674223A7B2278223A302C2279223A307D7D2C227374656E63696C736574223A7B2275726C223A227374656E63696C736574732F62706D6E322E302F62706D6E322E302E6A736F6E222C226E616D657370616365223A22687474703A2F2F62336D6E2E6F72672F7374656E63696C7365742F62706D6E322E3023227D2C227373657874656E73696F6E73223A5B5D7D, NULL);
INSERT INTO `ACT_GE_BYTEARRAY` (`ID_`, `REV_`, `NAME_`, `DEPLOYMENT_ID_`, `BYTES_`, `GENERATED_`) VALUES ('3', 4, 'source-extra', NULL, 0x3C73766720786D6C6E733D22687474703A2F2F7777772E77332E6F72672F323030302F7376672220786D6C6E733A6F7279783D22687474703A2F2F6F7279782D656469746F722E6F7267222069643D227369642D37444334373642452D304133382D343243352D393137452D393642464545383033353938222077696474683D223436322E3522206865696768743D223337352220786D6C6E733A786C696E6B3D22687474703A2F2F7777772E77332E6F72672F313939392F786C696E6B2220786D6C6E733A7376673D22687474703A2F2F7777772E77332E6F72672F323030302F737667223E3C646566733E3C6D61726B65722069643D227369642D32373644453432362D334239302D343031392D423638462D39444446303839364330323773746172742220726566583D22312220726566593D223522206D61726B6572556E6974733D227573657253706163654F6E55736522206D61726B657257696474683D22313722206D61726B65724865696768743D22313122206F7269656E743D226175746F223E0A0920200909756E646566696E65640A0909093C706174682069643D227369642D32373644453432362D334239302D343031392D423638462D39444446303839364330323764656661756C742220643D224D20352030204C203131203130222066696C6C3D22776869746522207374726F6B653D222335383538353822207374726F6B652D77696474683D22312220646973706C61793D226E6F6E65222F3E0A092020093C2F6D61726B65723E3C6D61726B65722069643D227369642D32373644453432362D334239302D343031392D423638462D394444463038393643303237656E642220726566583D2231352220726566593D223622206D61726B6572556E6974733D227573657253706163654F6E55736522206D61726B657257696474683D22313522206D61726B65724865696768743D22313222206F7269656E743D226175746F223E0A09202009093C706174682069643D227369642D32373644453432362D334239302D343031392D423638462D3944444630383936433032376172726F77686561642220643D224D20302031204C2031352036204C20302031317A222066696C6C3D222335383538353822207374726F6B653D222335383538353822207374726F6B652D6C696E656A6F696E3D22726F756E6422207374726F6B652D77696474683D2232222F3E0A092020093C2F6D61726B65723E3C6D61726B65722069643D227369642D33433242393846312D363735392D344233312D423446462D39383937463243453132364573746172742220726566583D22312220726566593D223522206D61726B6572556E6974733D227573657253706163654F6E55736522206D61726B657257696474683D22313722206D61726B65724865696768743D22313122206F7269656E743D226175746F223E0A0920200909756E646566696E65640A0909093C706174682069643D227369642D33433242393846312D363735392D344233312D423446462D39383937463243453132364564656661756C742220643D224D20352030204C203131203130222066696C6C3D22776869746522207374726F6B653D222335383538353822207374726F6B652D77696474683D22312220646973706C61793D226E6F6E65222F3E0A092020093C2F6D61726B65723E3C6D61726B65722069643D227369642D33433242393846312D363735392D344233312D423446462D393839374632434531323645656E642220726566583D2231352220726566593D223622206D61726B6572556E6974733D227573657253706163654F6E55736522206D61726B657257696474683D22313522206D61726B65724865696768743D22313222206F7269656E743D226175746F223E0A09202009093C706174682069643D227369642D33433242393846312D363735392D344233312D423446462D3938393746324345313236456172726F77686561642220643D224D20302031204C2031352036204C20302031317A222066696C6C3D222335383538353822207374726F6B653D222335383538353822207374726F6B652D6C696E656A6F696E3D22726F756E6422207374726F6B652D77696474683D2232222F3E0A092020093C2F6D61726B65723E3C2F646566733E3C7376672069643D22756E6465726C61792D636F6E7461696E6572222F3E3C67207374726F6B653D226E6F6E652220666F6E742D66616D696C793D2256657264616E612C2073616E732D73657269662220666F6E742D73697A652D61646A7573743D226E6F6E652220666F6E742D7374796C653D226E6F726D616C2220666F6E742D76617269616E743D226E6F726D616C2220666F6E742D7765696768743D226E6F726D616C22206C696E652D6865696774683D226E6F726D616C2220666F6E742D73697A653D223132223E3C6720636C6173733D227374656E63696C73223E3C6720636C6173733D226D65222F3E3C6720636C6173733D226368696C6472656E223E3C672069643D227376672D7369642D31434636384436442D423838392D344338332D423731462D373639313738313639343230223E3C6720636C6173733D227374656E63696C7322207472616E73666F726D3D227472616E736C617465283136342E352C2032373029223E3C6720636C6173733D226D65223E3C6720706F696E7465722D6576656E74733D2266696C6C222069643D227369642D44423543334534362D333541352D343944462D424541412D33303437433337363446333422207469746C653D22E5BC80E5A78BE4BA8BE4BBB6223E0A202020203C636972636C652069643D227369642D44423543334534362D333541352D343944462D424541412D33303437433337363446333462675F6672616D65222063783D223135222063793D2231352220723D22313522207374726F6B653D2223353835383538222066696C6C3D222366666666666622207374726F6B652D77696474683D2231222F3E0A093C7465787420666F6E742D73697A653D223131222069643D227369642D44423543334534362D333541352D343944462D424541412D333034374333373634463334746578745F6E616D652220783D2231352220793D22333222206F7279783A616C69676E3D22746F702063656E74657222207374726F6B653D222333373365343822207374726F6B652D77696474683D2230707422206C65747465722D73706163696E673D222D302E3031707822207472616E73666F726D3D22726F7461746528302031352033322922206F7279783A666F6E7453697A653D2231312220746578742D616E63686F723D226D6964646C65223E3C747370616E2064793D2231312220783D2231352220793D223332223EE5BC80E5A78BE4BA8BE4BBB6313C2F747370616E3E3C2F746578743E0A20203C2F673E3C2F673E3C6720636C6173733D226368696C6472656E22207374796C653D226F766572666C6F773A68696464656E222F3E3C6720636C6173733D2265646765222F3E3C2F673E3C6720636C6173733D22636F6E74726F6C73223E3C6720636C6173733D22646F636B657273222F3E3C6720636C6173733D226D61676E65747322207472616E73666F726D3D227472616E736C617465283136342E352C2032373029223E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C61746528372C203729223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C2F673E3C2F673E3C2F673E3C672069643D227376672D7369642D31323938424535342D444235412D344535322D383139422D364535324334413445393035223E3C6720636C6173733D227374656E63696C7322207472616E73666F726D3D227472616E736C617465283234302C2032343529223E3C6720636C6173733D226D65223E3C6720706F696E7465722D6576656E74733D2266696C6C22206F7279783A6D696E696D756D53697A653D223530203430222069643D227369642D45343538453636302D364538342D343733392D384633452D35373346313836413434393622207469746C653D22E794A8E688B7E4BBBBE58AA1223E0A093C726563742069643D227369642D45343538453636302D364538342D343733392D384633452D353733463138364134343936746578745F6672616D6522206F7279783A616E63686F72733D22626F74746F6D20746F70207269676874206C6566742220783D22312220793D2231222077696474683D22393422206865696768743D223739222072783D223130222072793D22313022207374726F6B653D226E6F6E6522207374726F6B652D77696474683D2230222066696C6C3D226E6F6E65222F3E0A093C726563742069643D227369642D45343538453636302D364538342D343733392D384633452D35373346313836413434393662675F6672616D6522206F7279783A726573697A653D22766572746963616C20686F72697A6F6E74616C2220783D22302220793D2230222077696474683D2231303022206865696768743D223830222072783D223130222072793D22313022207374726F6B653D222362626262626222207374726F6B652D77696474683D2231222066696C6C3D2223663966396639222F3E0A09093C7465787420666F6E742D73697A653D223132222069643D227369642D45343538453636302D364538342D343733392D384633452D353733463138364134343936746578745F6E616D652220783D2235302220793D22343022206F7279783A616C69676E3D226D6964646C652063656E74657222206F7279783A666974746F656C656D3D22746578745F6672616D6522207374726F6B653D222333373365343822207374726F6B652D77696474683D2230707422206C65747465722D73706163696E673D222D302E3031707822207472616E73666F726D3D22726F7461746528302035302034302922206F7279783A666F6E7453697A653D2231322220746578742D616E63686F723D226D6964646C65223E3C747370616E20783D2235302220793D223430222064793D2235223EE794A8E688B7E4BBBBE58AA1313C2F747370616E3E3C2F746578743E0A090A093C672069643D227369642D45343538453636302D364538342D343733392D384633452D353733463138364134343936757365725461736B22207472616E73666F726D3D227472616E736C61746528332C3329223E0A09093C70617468206F7279783A616E63686F72733D22746F70206C65667422207374796C653D2266696C6C3A236431623537353B7374726F6B653A6E6F6E653B2220643D226D20312C31372031362C3020302C2D312E37373738202D352E3333333333322C2D332E3535353520302C2D312E37373738206320312E3234343434342C3020312E3234343434342C2D322E3331313120312E3234343434342C2D322E33313131206C20302C2D332E3032323220432031322E3535353535372C302E3832323120392E303030303030312C312E3030303120392E303030303030312C312E30303031206320302C30202D332E353535353535362C2D302E313738202D332E393131313131312C332E35353535206C20302C332E30323232206320302C3020302C322E3331313120312E323434343434332C322E33313131206C20302C312E37373738204C20312C31352E3232323220312C31372031372C3137222069643D227369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F7369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F3137222F3E0A09090A093C2F673E0A20200A093C672069643D227369642D45343538453636302D364538342D343733392D384633452D353733463138364134343936706172616C6C656C2220646973706C61793D226E6F6E65223E0A09093C70617468206F7279783A616E63686F72733D22626F74746F6D222066696C6C3D226E6F6E6522207374726F6B653D22236262626262622220643D224D3436203730207638204D3530203730207638204D353420373020763822207374726F6B652D77696474683D2232222069643D227369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F7369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F3138222F3E0A093C2F673E0A090A093C672069643D227369642D45343538453636302D364538342D343733392D384633452D35373346313836413434393673657175656E7469616C2220646973706C61793D226E6F6E65223E0A09093C70617468206F7279783A616E63686F72733D22626F74746F6D222066696C6C3D226E6F6E6522207374726F6B653D222362626262626222207374726F6B652D77696474683D22322220643D224D34362C37366831304D34362C3732683130204D34362C3638683130222069643D227369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F7369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F3139222F3E0A093C2F673E0A090A0A093C672069643D227369642D45343538453636302D364538342D343733392D384633452D353733463138364134343936636F6D70656E736174696F6E223E0A09093C70617468206F7279783A616E63686F72733D22626F74746F6D222066696C6C3D226E6F6E6522207374726F6B653D22236E6F6E652220643D224D203632203734204C203636203730204C203636203738204C203632203734204C203632203730204C203538203734204C203632203738204C20363220373422207374726F6B652D77696474683D2231222069643D227369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F7369642D45343538453636302D364538342D343733392D384633452D3537334631383641343439365F3230222F3E0A093C2F673E0A20203C2F673E3C2F673E3C6720636C6173733D226368696C6472656E22207374796C653D226F766572666C6F773A68696464656E222F3E3C6720636C6173733D2265646765222F3E3C2F673E3C6720636C6173733D22636F6E74726F6C73223E3C6720636C6173733D22646F636B657273222F3E3C6720636C6173733D226D61676E65747322207472616E73666F726D3D227472616E736C617465283234302C2032343529223E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C617465282D372C20313229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C617465282D372C20333229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C617465282D372C20353229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652831372C20373129223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652834322C20373129223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652836372C20373129223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652839312C20313229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652839312C20333229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652839312C20353229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652831372C202D3729223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652834322C202D3729223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652836372C202D3729223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C6174652834322C20333229223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C2F673E3C2F673E3C2F673E3C672069643D227376672D7369642D35424341303831392D394238452D343637422D424337322D433137333032453333363439223E3C6720636C6173733D227374656E63696C7322207472616E73666F726D3D227472616E736C617465283338342E352C2032373129223E3C6720636C6173733D226D65223E3C6720706F696E7465722D6576656E74733D2266696C6C222069643D227369642D44413744374531302D414146382D343730412D413138352D30363234303944443232324122207469746C653D22E7BB93E69D9FE4BA8BE4BBB6223E0A202020203C636972636C652069643D227369642D44413744374531302D414146382D343730412D413138352D30363234303944443232324162675F6672616D65222063783D223134222063793D2231342220723D22313422207374726F6B653D2223353835383538222066696C6C3D222366666666666622207374726F6B652D77696474683D2233222F3E0A093C7465787420666F6E742D73697A653D223131222069643D227369642D44413744374531302D414146382D343730412D413138352D303632343039444432323241746578745F6E616D652220783D2231342220793D22333022206F7279783A616C69676E3D22746F702063656E74657222207374726F6B653D222333373365343822207374726F6B652D77696474683D2230707422206C65747465722D73706163696E673D222D302E3031707822207472616E73666F726D3D22726F7461746528302031342033302922206F7279783A666F6E7453697A653D2231312220746578742D616E63686F723D226D6964646C65223E3C747370616E2064793D2231312220783D2231342220793D223330223EE7BB93E69D9FE4BA8BE4BBB6313C2F747370616E3E3C2F746578743E0A20203C2F673E3C2F673E3C6720636C6173733D226368696C6472656E22207374796C653D226F766572666C6F773A68696464656E222F3E3C6720636C6173733D2265646765222F3E3C2F673E3C6720636C6173733D22636F6E74726F6C73223E3C6720636C6173733D22646F636B657273222F3E3C6720636C6173733D226D61676E65747322207472616E73666F726D3D227472616E736C617465283338342E352C2032373129223E3C6720706F696E7465722D6576656E74733D22616C6C2220646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C61746528362C203629223E3C636972636C652063783D2238222063793D22382220723D223422207374726F6B653D226E6F6E65222066696C6C3D22726564222066696C6C2D6F7061636974793D22302E33222F3E3C2F673E3C2F673E3C2F673E3C2F673E3C2F673E3C6720636C6173733D2265646765223E3C672069643D227376672D7369642D39314542413733352D463044432D343546392D383539392D453237383943303246343143223E3C6720636C6173733D227374656E63696C73223E3C6720636C6173733D226D65223E3C6720706F696E7465722D6576656E74733D227061696E746564223E3C706174682069643D227369642D32373644453432362D334239302D343031392D423638462D3944444630383936433032375F312220643D224D3139352E3137353738313235203238354C3233392E3739323936383735203238352022207374726F6B653D2223353835383538222066696C6C3D226E6F6E6522207374726F6B652D77696474683D223222207374726F6B652D6C696E656361703D22726F756E6422207374726F6B652D6C696E656A6F696E3D22726F756E6422206D61726B65722D73746172743D2275726C28237369642D32373644453432362D334239302D343031392D423638462D39444446303839364330323773746172742922206D61726B65722D656E643D2275726C28237369642D32373644453432362D334239302D343031392D423638462D394444463038393643303237656E6429222F3E3C2F673E3C746578742069643D227369642D32373644453432362D334239302D343031392D423638462D394444463038393643303237746578745F6E616D652220783D223230332220793D2232373722206F7279783A65646765506F736974696F6E3D227374617274546F7022207374726F6B652D77696474683D2230707422206C65747465722D73706163696E673D222D302E3031707822207472616E73666F726D3D22726F746174652833363020313935203238352922206F7279783A666F6E7453697A653D2231322220746578742D616E63686F723D227374617274222F3E3C2F673E3C6720636C6173733D226368696C6472656E22207374796C653D226F766572666C6F773A68696464656E222F3E3C6720636C6173733D2265646765222F3E3C2F673E3C6720636C6173733D22636F6E74726F6C73223E3C6720636C6173733D22646F636B657273222F3E3C6720636C6173733D226D61676E657473222F3E3C2F673E3C2F673E3C672069643D227376672D7369642D30314535304631352D384439442D343933412D394233312D423741463545363841374433223E3C6720636C6173733D227374656E63696C73223E3C6720636C6173733D226D65223E3C6720706F696E7465722D6576656E74733D227061696E746564223E3C706174682069643D227369642D33433242393846312D363735392D344233312D423446462D3938393746324345313236455F312220643D224D3334302E31363430363235203238354C3338332E39333735203238352022207374726F6B653D2223353835383538222066696C6C3D226E6F6E6522207374726F6B652D77696474683D223222207374726F6B652D6C696E656361703D22726F756E6422207374726F6B652D6C696E656A6F696E3D22726F756E6422206D61726B65722D73746172743D2275726C28237369642D33433242393846312D363735392D344233312D423446462D39383937463243453132364573746172742922206D61726B65722D656E643D2275726C28237369642D33433242393846312D363735392D344233312D423446462D393839374632434531323645656E6429222F3E3C2F673E3C746578742069643D227369642D33433242393846312D363735392D344233312D423446462D393839374632434531323645746578745F6E616D652220783D223334382220793D2232373722206F7279783A65646765506F736974696F6E3D227374617274546F7022207374726F6B652D77696474683D2230707422206C65747465722D73706163696E673D222D302E3031707822207472616E73666F726D3D22726F746174652833363020333430203238352922206F7279783A666F6E7453697A653D2231322220746578742D616E63686F723D227374617274222F3E3C2F673E3C6720636C6173733D226368696C6472656E22207374796C653D226F766572666C6F773A68696464656E222F3E3C6720636C6173733D2265646765222F3E3C2F673E3C6720636C6173733D22636F6E74726F6C73223E3C6720636C6173733D22646F636B657273222F3E3C6720636C6173733D226D61676E657473222F3E3C2F673E3C2F673E3C2F673E3C2F673E3C6720636C6173733D22737667636F6E7461696E6572223E3C6720646973706C61793D226E6F6E6522207472616E73666F726D3D227472616E736C617465283233362C2032343129223E3C7265637420783D22302220793D223022207374726F6B652D77696474683D223122207374726F6B653D2223373737373737222066696C6C3D226E6F6E6522207374726F6B652D6461736861727261793D22322C322220706F696E7465722D6576656E74733D226E6F6E65222077696474683D2231303822206865696768743D223838222F3E3C2F673E3C6720646973706C61793D226E6F6E65223E3C70617468207374726F6B652D77696474683D223122207374726F6B653D2273696C766572222066696C6C3D226E6F6E6522207374726F6B652D6461736861727261793D22352C352220706F696E7465722D6576656E74733D226E6F6E652220643D224D3239302030204C203239302031303530222F3E3C2F673E3C6720646973706C61793D226E6F6E65223E3C70617468207374726F6B652D77696474683D223122207374726F6B653D2273696C766572222066696C6C3D226E6F6E6522207374726F6B652D6461736861727261793D22352C352220706F696E7465722D6576656E74733D226E6F6E652220643D224D203020323835204C203132303020323835222F3E3C2F673E3C673E3C70617468207374726F6B652D77696474683D2232222066696C6C3D226E6F6E652220643D224D2D342031206C30202D35206C352030204D2D342031303439206C302035206C352030204D313230342031303439206C302035206C2D352030204D313230342031206C30202D35206C2D3520302022207374726F6B653D222330304646303022207374726F6B652D6F7061636974793D22312220646973706C61793D226E6F6E65222F3E3C2F673E3C2F673E3C2F673E3C2F7376673E, NULL);
INSERT INTO `ACT_GE_BYTEARRAY` (`ID_`, `REV_`, `NAME_`, `DEPLOYMENT_ID_`, `BYTES_`, `GENERATED_`) VALUES ('5', 1, 'FLOW0001.bpmn20.xml', '4', 0x3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0A3C646566696E6974696F6E7320786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A7873643D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612220786D6C6E733A666C6F7761626C653D22687474703A2F2F666C6F7761626C652E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F7777772E61637469766974692E6F72672F70726F6365737364656622206578706F727465723D22466C6F7761626C65204F70656E20536F75726365204D6F64656C657222206578706F7274657256657273696F6E3D22362E382E31223E0A20203C70726F636573732069643D22464C4F573030303122206E616D653D22E5B7A5E4BD9CE6B581303030312220697345786563757461626C653D2274727565223E0A202020203C646F63756D656E746174696F6E3EE5A487E6B3A8EFBC9AE7ACAC30303031E4B8AAE6B58BE8AF95E6B581E7A88B3C2F646F63756D656E746174696F6E3E0A202020203C73746172744576656E742069643D2253746172744E6F6E654576656E743137333234343433373832353522206E616D653D22E5BC80E5A78BE4BA8BE4BBB631223E0A2020202020203C646F63756D656E746174696F6E3EE697A0E789B9E5AE9AE8A7A6E58F91E599A8E79A84E5BC80E5A78BE4BA8BE4BBB63C2F646F63756D656E746174696F6E3E0A202020203C2F73746172744576656E743E0A202020203C757365725461736B2069643D22557365725461736B3137333234343433383034363822206E616D653D22E794A8E688B7E4BBBBE58AA1312220666C6F7761626C653A61737369676E65653D2223555345527B61646D696E7D223E0A2020202020203C646F63756D656E746174696F6E3E6363733D22223B6564697461626C653D2230223B67726164653D2232223B72656C6174696F6E3D2231223B697361737369676E3D22223B697376616C69646174653D2266616C7365223B3C2F646F63756D656E746174696F6E3E0A2020202020203C657874656E73696F6E456C656D656E74733E0A20202020202020203C6D6F64656C65723A696E69746961746F722D63616E2D636F6D706C65746520786D6C6E733A6D6F64656C65723D22687474703A2F2F666C6F7761626C652E6F72672F6D6F64656C6572223E3C215B43444154415B66616C73655D5D3E3C2F6D6F64656C65723A696E69746961746F722D63616E2D636F6D706C6574653E0A2020202020203C2F657874656E73696F6E456C656D656E74733E0A202020203C2F757365725461736B3E0A202020203C73657175656E6365466C6F772069643D227369642D39314542413733352D463044432D343546392D383539392D4532373839433032463431432220736F757263655265663D2253746172744E6F6E654576656E743137333234343433373832353522207461726765745265663D22557365725461736B31373332343434333830343638223E3C2F73657175656E6365466C6F773E0A202020203C656E644576656E742069643D22456E644E6F6E654576656E743137333234343433393833333022206E616D653D22E7BB93E69D9FE4BA8BE4BBB631223E0A2020202020203C646F63756D656E746174696F6E3EE697A0E789B9E5AE9AE8A7A6E58F91E599A8E79A84E7BB93E69D9FE4BA8BE4BBB63C2F646F63756D656E746174696F6E3E0A202020203C2F656E644576656E743E0A202020203C73657175656E6365466C6F772069643D227369642D30314535304631352D384439442D343933412D394233312D4237414635453638413744332220736F757263655265663D22557365725461736B3137333234343433383034363822207461726765745265663D22456E644E6F6E654576656E7431373332343434333938333330223E3C2F73657175656E6365466C6F773E0A20203C2F70726F636573733E0A20203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F464C4F5730303031223E0A202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D22464C4F5730303031222069643D2242504D4E506C616E655F464C4F5730303031223E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D2253746172744E6F6E654576656E7431373332343434333738323535222069643D2242504D4E53686170655F53746172744E6F6E654576656E7431373332343434333738323535223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2233302E30222077696474683D2233302E302220783D223136342E352220793D223237302E30223E3C2F6F6D6764633A426F756E64733E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22557365725461736B31373332343434333830343638222069643D2242504D4E53686170655F557365725461736B31373332343434333830343638223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2238302E30222077696474683D223130302E302220783D223234302E302220793D223234352E30223E3C2F6F6D6764633A426F756E64733E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D22456E644E6F6E654576656E7431373332343434333938333330222069643D2242504D4E53686170655F456E644E6F6E654576656E7431373332343434333938333330223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2232382E30222077696474683D2232382E302220783D223338342E352220793D223237312E30223E3C2F6F6D6764633A426F756E64733E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D227369642D39314542413733352D463044432D343546392D383539392D453237383943303246343143222069643D2242504D4E456467655F7369642D39314542413733352D463044432D343546392D383539392D4532373839433032463431432220666C6F7761626C653A736F75726365446F636B6572583D2231352E302220666C6F7761626C653A736F75726365446F636B6572593D2231352E302220666C6F7761626C653A746172676574446F636B6572583D2235302E302220666C6F7761626C653A746172676574446F636B6572593D2234302E30223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223139342E34343939393835303335383539362220793D223238352E30223E3C2F6F6D6764693A776179706F696E743E0A20202020202020203C6F6D6764693A776179706F696E7420783D223234302E302220793D223238352E30223E3C2F6F6D6764693A776179706F696E743E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D227369642D30314535304631352D384439442D343933412D394233312D423741463545363841374433222069643D2242504D4E456467655F7369642D30314535304631352D384439442D343933412D394233312D4237414635453638413744332220666C6F7761626C653A736F75726365446F636B6572583D2235302E302220666C6F7761626C653A736F75726365446F636B6572593D2234302E302220666C6F7761626C653A746172676574446F636B6572583D2231342E302220666C6F7761626C653A746172676574446F636B6572593D2231342E30223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223333392E39343939393939393938393133362220793D223238352E30223E3C2F6F6D6764693A776179706F696E743E0A20202020202020203C6F6D6764693A776179706F696E7420783D223338342E352220793D223238352E30223E3C2F6F6D6764693A776179706F696E743E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A202020203C2F62706D6E64693A42504D4E506C616E653E0A20203C2F62706D6E64693A42504D4E4469616772616D3E0A3C2F646566696E6974696F6E733E, 0);
INSERT INTO `ACT_GE_BYTEARRAY` (`ID_`, `REV_`, `NAME_`, `DEPLOYMENT_ID_`, `BYTES_`, `GENERATED_`) VALUES ('6', 1, 'FLOW0001.FLOW0001.png', '4', 0x89504E470D0A1A0A0000000D49484452000001A60000014F0806000000063A6A4900000F3949444154785EEDDD79885CD59E0770179C27226EA82822080E2A88A8887FAA233C05E7B981C66C442526B14589118971C1CC6846DC820B260E28288C611CB7E7F2D4B865B18DC6973C14358962342E31693B7989C6A8899AE4CEFD155D4DE55477BAB274F5ADBE9F0FFCE8D4AD73CFA974DD7BBF75AA6EDDDE6D370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A0D8B22CFB9765CB963D3D7FFEFCDF67CD9A95BDF9E69BAAC995FFDEB7B4B7B7AF9C3D7BF605E9F303503A79283D931F14B3CECECE6CC3860DD96FBFFDA69A5CF17B8FDFFFDCB973D7E541F597F4390228959829C541313D58AAE6574747C73FF3605A903E4700A5126FDF992915A3E279C8836963FA1C01944A7CC6911E20D5C0553C1FE97304502A8D06D3CF3F7664CB163E9E2D7EEBF64AC5BF6359DA4EED5C0926A0F41A09A6F53FACC816BD7E6BF6D12B13B7AA5816F7A5EDD58E9760024AAF91605ABEF8A5BA50AAD6778BFF56D75EED780926A0F41A09A64FE7DC5D1748D58AFBD2F66AC74B3001A5D748302D7AF33FEB02A95A715FDA5EED780926A0F40453B14A3001A5D74830C559786920552BEE4BDBAB1D2FC104945E23C1B4F4DD69758154ADB82F6DAF76BC0413507A8D04D39A151F678BDEF88FBA508A65715FDA5EED780926A0F41A09A6A8AFFEF13F75C114CBD2766AE74A3001A5D750306DDC982D7DEFBFEB822996C57D75EDD50E9760024AAFAF608A2B3B7CFEEE4375A154ADB8CFD51F765D0926A0F47A0DA67C26D4B17476F6C96B37D785515AD126DA9A3DED7C0926A0F47A0AA6BE6649BD95D9D3CE9760024AAFA7606A6496D45BC5BA697FAAF1124C40E9F5144C69D86C6FA5FDA9C64B3001A5D75330A9812BC104949E602A560926A0F40453B14A3001A527988A5582094AECF1C71F3F69FAF4E94F4C9E3CB963E2C4893FB7B5B56D1A366C58163FE3762C8FFBA35DBAEE6022988A55833198860C197244BE6FB50D1D3AF4A5FCE782BC96C7BED6F57341D7F2B66897AE0BA5306DDAB47193264D5A3B66CC98ECE1871FCEDE7FFFFDECCB2FBFCCD6AC599385F819B76379DC1FEDA27DAC97F6351808A662D5600AA64B2EB9E4CC3C70DABB42A8D16A8FF5D2BE60509A3A75EA2937DD74D38A09132664F3E7CFCF366FDE5C09A2BE44BB681FEBC5FAD14FDA772B134CC5AAC1104CF90CE8E83C6066F6103ADB5333A39FB46F1834EEB9E79ED163C78EDDF4EAABAF669B366D4AB3A721B15EAC1FFD447FE918AD4A3015AB5A3D98F2D9CE9FF350595B1B32A3468DCAEEBCF3CE6CD6AC593DBE3B11CBE3FE689784D3DAE82F1D035ADE942953FEABADAD6DCB679F7D9644CD8E897EA2BFE8371DAB1509A662552B07531E24A3F3FAA31A2C23478ECC1E7DF4D1EC871F7E4877A31E45BB681FEBD58453F437685E08C26E93274F1E7EE595576EEEECEC4CF7819D12FD45BFD17F3A66AB114CC5AA560DA6AE995277285D73CD35D9575F7D95EE3A0D89F562FDDA703273625018376EDC7163C78EFD7D57CD9452D16FF41FE3A463B712C154AC6AC5601A3264C8BFE6E1B1A61A24B7DC724BB66EDDBA7497D92EB17EF453134E6B629C746C6829D75D77DDE2F84CA83F45FF314E3A762B114CC5AA560CA63C345EAD9D29ED6C2855453FC9CCE9D5746C6819575F7DF5BF8F1F3F7ED38E9EE8D0A8E83FC689F1D2C7D02A0453B1AAD582A9EB94F0EECF9476F4EDBBDE447FB59F3939959C969507C517718A7733C438315EFA185A85602A56B55A30E561F14E3534E2C485FE10FDD6CC9ADE491F03145E7C7B7CF4E8D1BF37FA3DA59D15E3C47845FBD67ABE03CFC9EBDFD2E529C154AC2A5230F5B50D755DD1614B04469CEADDE8D977DB2BFAAD39957C4BD1F635E8D3B871E3AE9F3E7D7A7352A94B8C17E3A68F6520D5BCC2DCE6C1453015AB0A164CDBDC86860E1D7A55B5CD5D77DD95EE16BB54F45F1D2BC64D1F0B14DA55575DD5DEACB7F1AA62BC18377D2C03A9E6A0B2CD838B602A561534987ADC86F27FFFB57ADF5B6FBD95EE16BB54F45FF338FE5AF330A1F8F299CB97CB962D4BB7EB7E15E3C5B8E96319483D1C547A3CB808A66255C18369AB6D28AF85D565FDBDCF45FF35E32F4C1F2B14DAE5975FBE6EEDDAB5E976DDAF62BC18377D2C03A98783495A95838B602A56B54830556B63F5DFFDBDCF45FF35E3AE481F2B14DA881123FEC8A5DB75BF8AF162DC1E76DCC2572B04D3EAD5ABEB96D5D6C68D1BEB966DAB7EFDF5D7ECC71F7FAC5B5E844A9F9F56A9FEDEE7A2FF9AF136A6FB3D14DAA5975EBAB6BF5FBDA562BC18377D2C03293D70D4D49C6103F0565EBC151363F55673E7CEAD5B272A96EFB9E79ED9471F7D54775FB59E78E289ECA8A38ECA3A3A3A2AB7972E5D9A3DF2C823D9F9E79F9F5D74D14575C1357EFCF8ECC0030FCC56AE5CB9D5F2B4DD40548BCC982ADB505E2BAACBFA7B9F3363A2A58D1E3DFAB3FE7EBF3B15E3C5B8E9631948BD1D4CD276CD0AA6BBEFBE3B0EB8BDD6C1071FDCDD76F9F2E5D93BEFBC53A9B8F2F49FFEF4A7ECC61B6FEC5E1657A4AEEDFBE4934FCE8E3FFEF8ECB4D34ECBF6DF7FFFEE3E63D9F5D75F9FAD58B1A2D26EC3860DD9942953EAC6AE56FEE2A2BBCF19336664679D755665F96BAFBD56F7FFE9AF2A78306DB50D0DF319133466D4A8517F7BEFBDF7FAF7920F89182FC64D1FCB40EAED60926A66301D7DF4D1957FAF5AB5AA72C07FF9E5972BB7A74D9BB655303DF8E08375A1515B13274EEC6EFBE28B2F56963DFDF4D3D9CD37DF9C3DF0C003717580EC98638ED96AFCF8130BA79F7E7AA56D84D7F3CF3F5FB9AAC0BC79F3B2134F3C31DB77DF7DB38F3FFEB8BB7D5B5B5B76D2492709A66D6C43C39C95078D89EF38DC7BEFBD2BD30DBB3FC57845FB6E456F0793543383E988238EA8CC7866CE9C5939E04F9D3AB5723B66356930EDBDF7DE757D44C52CA81A4CDF7DF75D76D8618755FAFAF4D34FBBDBDC7AEBADD9B1C71E5BB76ECC801E7BECB1ECCC33CFCCF6D9679FCA2CECA0830ECA0E39E490ACBDBDBDAE7DCC9AA2EF1207D336B721DF638206C5B7C2F3D9CBFA665EF921C66BD56FA337339876EB61F653ADDA60BAEFBEFB1A0AA68B2FBEB87BFDBE82294E7678FBEDB72BA157BB5ED419679C91DD7EFBEDD9534F3D957DFEF9E7DDEB943D98FAE2CA0FB01D468C18F1DEBC79F37E4C37F0FE10E3C478E9636815CD0AA63BEEB8233BEEB8E32AFFEEEBADBCC99327D705576D558329D6BBECB2CB2ACBF2E7A0AE5DB5468F1E9D3DF3CC33D91E7BEC919D70C209D99831632A7F313582E7FEFBEFCF2EB8E0824AE0EDB7DF7ED92BAFBCD2FD380453DF86B9561E3426AE407CC51557AC6AC6D5C5639C56BEE271B38269D2A4497581515BB5C1147FEA20CEB29B33674E5DC5E744F1B64EB48BB3E83EF8E083CAFA1172D58A908AB70DABB73FFCF0C3CA890F4B962CA99CB117159F21C518D5DB51DF7EFBED568F5930F5CDD5C5613B0C1F3E7CE673CF3DB73CDDD077A5E83FC649C76E25CD0AA621438664E79E7B6EE5C0FBC20B2F540EF8316B89DBD75E7BED56C114A778C72C26EDA3A78AD089BEFA7A2B2FEAECB3CFAE0BC4DA3AEFBCF3B66A2F981A33CCDF6382C6C45FBBCC5F39AF5ABC78F19A7483DF15A2DFE8BFD5FFAA663382296636871E7A68F6D0430F556EF7F5565E9CD0102726A4FDF454DB134C51F15862B61467E1C5ABF1EAF2534F3DB5721246FC3B0E88CF3EFB6C3661C2844ADFF1D662337E4F51AD184CFE822D6C877CDAFFE7912347AEFEFEFBEFD7A71BFECE88FEA2DFE83F1DB3D534E380FBE4934F66BBEFBE7BF7E9D8D5608AE5F13DA571E3C665871F7E78E5BEEAE9DF0B162CA8EBA7A7AA06D3A2458BBABFAC1BDF473AF2C823BB6F7FF1C517D92FBFFC5299A99D73CE39D95E7BED5539D1217F1EB3CECECE6CE1C285956571CA79F41981157DD6D629A79C5237767F542B0653887D210F8FEEAB9FC44C6747DFD68BF59299D21F83615F836EF9463D3A0F91CE4F3EF96497BCAD17FD447FD16F3A562B6A4630C59970C3870FEFBE1D97183AE080032A4111DF298A930E6EB8E186CA7DF13DA4F81C29EDA3B7AA0653844BFCECA96EBBEDB6CA9523E26A0F71E2437CD6541D2BEE8F50BAF0C20BB3F5EBD7D7F5DFEC6AD5600AB14FD486537C3614272E347AB65EB48BF6B59F2975F53728F635D84ABCDACA0F8CAB66CC98F18F4D9B366D49778846C47AB17EF433985EBD352398A27EFEF9E7BA65BD557C19365DD65BC5A56AE233A046AE7DF7D34F3FF5B82C6653E9F281AA560EA6D035735A5B132C9553BDE3F3C4981DC7553BE2F90DF1336EC7F2B8BFE694F06AAD1D4CFB1AD4193A74E8D1F9863E33DFF8BF79E38D373EDCBC7973430115EDA27DAC17EB473F69DFADAC59C1A41AAB560FA650DDD79290D9DE1A74FB1AF4AAEBF4D6F67CE6B376D2A449EFBEFEFAEB7F5FB264C9E2D5AB5757AE16113FE3762C8FFBA35DB41FACA7A90AA662D56008A6AAEABED643E86CAB06EDBE067DEAFAD67A5BFEAAECA5FCE782BC9677ED18F17341D7F2B6C1FE2D73C154AC1A4CC154655F03B68B602A560DC66002D82E82A958259880D2134CC52AC104949E602A560926A0F40453B14A3001A527988A558209283DC154AC124C40E909A6629560024A4F3015AB0413507A82A958259880D2134CC52AC104949E602A560926A0F40453B14A3001A527988A558209283DC154AC124C40E909A6629560024A4F3015AB0413507A82A958259880D2134CC52AC104949E602A560926A0F40453B14A3001A5376BD6AC2D1B366CA83B40AAE657FE3CACCC836963FA1C01944A7B7BFBCACECECEBA83A46A7E7DF3CD37FF9707D382F439022895D9B3675F3077EEDC751D1D1DFF34731A98CA7FEF1D5F7FFDF5FFE6A1F46D5E7F499F2380D2898361BC52CFEBB7F88C4335BDE2F71EBF7FA10400000000000000000000000000006CBFFF077ED6673D01661F400000000049454E44AE426082, 1);
COMMIT;

-- ----------------------------
-- Table structure for ACT_GE_PROPERTY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_GE_PROPERTY`;
CREATE TABLE `ACT_GE_PROPERTY` (
  `NAME_` varchar(64) NOT NULL,
  `VALUE_` varchar(300) DEFAULT NULL,
  `REV_` int(11) DEFAULT NULL,
  PRIMARY KEY (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_GE_PROPERTY
-- ----------------------------
BEGIN;
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('batch.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('cfg.execution-related-entities-count', 'true', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('cfg.task-related-entities-count', 'true', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('common.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('entitylink.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('eventsubscription.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('identitylink.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('job.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('next.dbid', '10001', 5);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('schema.history', 'create(6.8.1.0)', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('task.schema.version', '6.8.1.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('variable.schema.version', '6.8.1.0', 1);
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ACTINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ACTINST`;
CREATE TABLE `ACT_HI_ACTINST` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT 1,
  `PROC_DEF_ID_` varchar(64) NOT NULL,
  `PROC_INST_ID_` varchar(64) NOT NULL,
  `EXECUTION_ID_` varchar(64) NOT NULL,
  `ACT_ID_` varchar(255) NOT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `ACT_NAME_` varchar(255) DEFAULT NULL,
  `ACT_TYPE_` varchar(255) NOT NULL,
  `ASSIGNEE_` varchar(255) DEFAULT NULL,
  `START_TIME_` datetime NOT NULL,
  `END_TIME_` datetime DEFAULT NULL,
  `TRANSACTION_ORDER_` int(11) DEFAULT NULL,
  `DURATION_` bigint(20) DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ACT_INST_START` (`START_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_PROCINST` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_HI_ACT_INST_EXEC` (`EXECUTION_ID_`,`ACT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ACTINST
-- ----------------------------
BEGIN;
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('12', 1, 'FLOW0001:1:7', '8', '11', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 18:54:06', '2024-11-24 18:54:06', 1, 5, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('13', 1, 'FLOW0001:1:7', '8', '11', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 18:54:06', '2024-11-24 18:54:06', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('14', 2, 'FLOW0001:1:7', '8', '11', 'UserTask1732444380468', '15', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 18:54:06', '2024-11-24 20:50:42', 3, 6996209, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2505', 1, 'FLOW0001:1:7', '2501', '2504', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44', 1, 4, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2506', 1, 'FLOW0001:1:7', '2501', '2504', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2507', 1, 'FLOW0001:1:7', '2501', '2504', 'UserTask1732444380468', '2508', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:04:44', NULL, 3, NULL, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2515', 1, 'FLOW0001:1:7', '2511', '2514', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2516', 1, 'FLOW0001:1:7', '2511', '2514', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2517', 1, 'FLOW0001:1:7', '2511', '2514', 'UserTask1732444380468', '2518', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:05:19', NULL, 3, NULL, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2525', 1, 'FLOW0001:1:7', '2521', '2524', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:06:08', '2024-11-24 20:06:08', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2526', 1, 'FLOW0001:1:7', '2521', '2524', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:06:08', '2024-11-24 20:06:08', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2527', 2, 'FLOW0001:1:7', '2521', '2524', 'UserTask1732444380468', '2528', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:06:08', '2024-11-24 20:41:29', 3, 2121127, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2535', 1, 'FLOW0001:1:7', '2531', '2534', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:06:58', '2024-11-24 20:06:58', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2536', 1, 'FLOW0001:1:7', '2531', '2534', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:06:58', '2024-11-24 20:06:58', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2537', 2, 'FLOW0001:1:7', '2531', '2534', 'UserTask1732444380468', '2538', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:06:58', '2024-11-24 20:39:55', 3, 1977037, '同意', '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2545', 1, 'FLOW0001:1:7', '2541', '2544', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:07:21', '2024-11-24 20:07:21', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2546', 1, 'FLOW0001:1:7', '2541', '2544', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:07:21', '2024-11-24 20:07:21', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2547', 2, 'FLOW0001:1:7', '2541', '2544', 'UserTask1732444380468', '2548', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:07:21', '2024-11-24 20:39:55', 3, 1954196, '同意', '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2555', 1, 'FLOW0001:1:7', '2551', '2554', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:07:32', '2024-11-24 20:07:32', 1, 1, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2556', 1, 'FLOW0001:1:7', '2551', '2554', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:07:32', '2024-11-24 20:07:32', 2, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2557', 2, 'FLOW0001:1:7', '2551', '2554', 'UserTask1732444380468', '2558', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:07:32', '2024-11-24 20:46:07', 3, 2315136, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('5010', 1, 'FLOW0001:1:7', '2521', '2524', 'sid-01E50F15-8D9D-493A-9B31-B7AF5E68A7D3', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:41:29', '2024-11-24 20:41:29', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('5011', 1, 'FLOW0001:1:7', '2521', '2524', 'EndNoneEvent1732444398330', NULL, NULL, '结束事件1', 'endEvent', NULL, '2024-11-24 20:41:29', '2024-11-24 20:41:29', 2, 1, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('7504', 1, 'FLOW0001:1:7', '2551', '2554', 'sid-01E50F15-8D9D-493A-9B31-B7AF5E68A7D3', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:46:07', '2024-11-24 20:46:07', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('7505', 1, 'FLOW0001:1:7', '2551', '2554', 'EndNoneEvent1732444398330', NULL, NULL, '结束事件1', 'endEvent', NULL, '2024-11-24 20:46:07', '2024-11-24 20:46:07', 2, 2, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('7509', 1, 'FLOW0001:1:7', '8', '11', 'sid-01E50F15-8D9D-493A-9B31-B7AF5E68A7D3', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:50:42', '2024-11-24 20:50:42', 1, 0, NULL, '');
INSERT INTO `ACT_HI_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `TRANSACTION_ORDER_`, `DURATION_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('7510', 1, 'FLOW0001:1:7', '8', '11', 'EndNoneEvent1732444398330', NULL, NULL, '结束事件1', 'endEvent', NULL, '2024-11-24 20:50:42', '2024-11-24 20:50:42', 2, 0, NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ATTACHMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ATTACHMENT`;
CREATE TABLE `ACT_HI_ATTACHMENT` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) DEFAULT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `URL_` varchar(4000) DEFAULT NULL,
  `CONTENT_ID_` varchar(64) DEFAULT NULL,
  `TIME_` datetime DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ATTACHMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_COMMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_COMMENT`;
CREATE TABLE `ACT_HI_COMMENT` (
  `ID_` varchar(64) NOT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  `TIME_` datetime NOT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `ACTION_` varchar(255) DEFAULT NULL,
  `MESSAGE_` varchar(4000) DEFAULT NULL,
  `FULL_MSG_` longblob DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_COMMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_DETAIL
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_DETAIL`;
CREATE TABLE `ACT_HI_DETAIL` (
  `ID_` varchar(64) NOT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `ACT_INST_ID_` varchar(64) DEFAULT NULL,
  `NAME_` varchar(255) NOT NULL,
  `VAR_TYPE_` varchar(255) DEFAULT NULL,
  `REV_` int(11) DEFAULT NULL,
  `TIME_` datetime NOT NULL,
  `BYTEARRAY_ID_` varchar(64) DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint(20) DEFAULT NULL,
  `TEXT_` varchar(4000) DEFAULT NULL,
  `TEXT2_` varchar(4000) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_DETAIL_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_ACT_INST` (`ACT_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_TIME` (`TIME_`),
  KEY `ACT_IDX_HI_DETAIL_NAME` (`NAME_`),
  KEY `ACT_IDX_HI_DETAIL_TASK_ID` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_DETAIL
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ENTITYLINK`;
CREATE TABLE `ACT_HI_ENTITYLINK` (
  `ID_` varchar(64) NOT NULL,
  `LINK_TYPE_` varchar(255) DEFAULT NULL,
  `CREATE_TIME_` datetime DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_IDENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_IDENTITYLINK`;
CREATE TABLE `ACT_HI_IDENTITYLINK` (
  `ID_` varchar(64) NOT NULL,
  `GROUP_ID_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` datetime DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_TASK` (`TASK_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_IDENTITYLINK
-- ----------------------------
BEGIN;
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('16', NULL, 'assignee', '#USER{admin}', '15', '2024-11-24 18:54:06', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('17', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 18:54:06', '8', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2509', NULL, 'assignee', '#USER{admin}', '2508', '2024-11-24 20:04:44', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2510', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:04:44', '2501', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2519', NULL, 'assignee', '#USER{admin}', '2518', '2024-11-24 20:05:19', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2520', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:05:19', '2511', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2529', NULL, 'assignee', '#USER{admin}', '2528', '2024-11-24 20:06:08', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2530', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:06:08', '2521', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2539', NULL, 'assignee', '#USER{admin}', '2538', '2024-11-24 20:06:58', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2540', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:06:58', '2531', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2549', NULL, 'assignee', '#USER{admin}', '2548', '2024-11-24 20:07:21', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2550', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:07:21', '2541', NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2559', NULL, 'assignee', '#USER{admin}', '2558', '2024-11-24 20:07:32', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_IDENTITYLINK` (`ID_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `CREATE_TIME_`, `PROC_INST_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2560', NULL, 'participant', '#USER{admin}', NULL, '2024-11-24 20:07:32', '2551', NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_PROCINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_PROCINST`;
CREATE TABLE `ACT_HI_PROCINST` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT 1,
  `PROC_INST_ID_` varchar(64) NOT NULL,
  `BUSINESS_KEY_` varchar(255) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) NOT NULL,
  `START_TIME_` datetime NOT NULL,
  `END_TIME_` datetime DEFAULT NULL,
  `DURATION_` bigint(20) DEFAULT NULL,
  `START_USER_ID_` varchar(255) DEFAULT NULL,
  `START_ACT_ID_` varchar(255) DEFAULT NULL,
  `END_ACT_ID_` varchar(255) DEFAULT NULL,
  `SUPER_PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `NAME_` varchar(255) DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `PROC_INST_ID_` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PRO_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_PRO_I_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDX_HI_PRO_SUPER_PROCINST` (`SUPER_PROCESS_INSTANCE_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_PROCINST
-- ----------------------------
BEGIN;
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2501', 1, '2501', NULL, 'FLOW0001:1:7', '2024-11-24 20:04:44', NULL, NULL, NULL, 'StartNoneEvent1732444378255', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2511', 1, '2511', NULL, 'FLOW0001:1:7', '2024-11-24 20:05:19', NULL, NULL, NULL, 'StartNoneEvent1732444378255', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2521', 2, '2521', NULL, 'FLOW0001:1:7', '2024-11-24 20:06:08', '2024-11-24 20:41:29', 2121148, NULL, 'StartNoneEvent1732444378255', 'EndNoneEvent1732444398330', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2531', 2, '2531', NULL, 'FLOW0001:1:7', '2024-11-24 20:06:58', '2024-11-24 20:39:55', 1977062, NULL, 'StartNoneEvent1732444378255', NULL, NULL, '同意', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2541', 2, '2541', NULL, 'FLOW0001:1:7', '2024-11-24 20:07:21', '2024-11-24 20:39:55', 1954214, NULL, 'StartNoneEvent1732444378255', NULL, NULL, '同意', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2551', 2, '2551', NULL, 'FLOW0001:1:7', '2024-11-24 20:07:32', '2024-11-24 20:46:07', 2315171, NULL, 'StartNoneEvent1732444378255', 'EndNoneEvent1732444398330', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_HI_PROCINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PROC_DEF_ID_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `START_USER_ID_`, `START_ACT_ID_`, `END_ACT_ID_`, `SUPER_PROCESS_INSTANCE_ID_`, `DELETE_REASON_`, `TENANT_ID_`, `NAME_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('8', 2, '8', NULL, 'FLOW0001:1:7', '2024-11-24 18:54:06', '2024-11-24 20:50:42', 6996226, NULL, 'StartNoneEvent1732444378255', 'EndNoneEvent1732444398330', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_TASKINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_TASKINST`;
CREATE TABLE `ACT_HI_TASKINST` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT 1,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) DEFAULT NULL,
  `OWNER_` varchar(255) DEFAULT NULL,
  `ASSIGNEE_` varchar(255) DEFAULT NULL,
  `START_TIME_` datetime NOT NULL,
  `CLAIM_TIME_` datetime DEFAULT NULL,
  `END_TIME_` datetime DEFAULT NULL,
  `DURATION_` bigint(20) DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) DEFAULT NULL,
  `PRIORITY_` int(11) DEFAULT NULL,
  `DUE_DATE_` datetime DEFAULT NULL,
  `FORM_KEY_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `LAST_UPDATED_TIME_` datetime DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_INST_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_TASKINST
-- ----------------------------
BEGIN;
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('15', 2, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '8', '11', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 18:54:06', NULL, '2024-11-24 20:50:42', 6996203, NULL, 50, NULL, NULL, NULL, '', '2024-11-24 20:50:42');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2508', 1, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2501', '2504', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:04:44', NULL, NULL, NULL, NULL, 50, NULL, NULL, NULL, '', '2024-11-24 20:04:44');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2518', 1, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2511', '2514', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:05:19', NULL, NULL, NULL, NULL, 50, NULL, NULL, NULL, '', '2024-11-24 20:05:19');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2528', 2, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2521', '2524', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:06:08', NULL, '2024-11-24 20:41:29', 2121120, NULL, 50, NULL, NULL, NULL, '', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2538', 2, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2531', '2534', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:06:58', NULL, '2024-11-24 20:39:55', 1977031, '同意', 50, NULL, NULL, NULL, '', '2024-11-24 20:39:55');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2548', 2, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2541', '2544', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:07:21', NULL, '2024-11-24 20:39:55', 1954192, '同意', 50, NULL, NULL, NULL, '', '2024-11-24 20:39:55');
INSERT INTO `ACT_HI_TASKINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `TASK_DEF_KEY_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `OWNER_`, `ASSIGNEE_`, `START_TIME_`, `CLAIM_TIME_`, `END_TIME_`, `DURATION_`, `DELETE_REASON_`, `PRIORITY_`, `DUE_DATE_`, `FORM_KEY_`, `CATEGORY_`, `TENANT_ID_`, `LAST_UPDATED_TIME_`) VALUES ('2558', 2, 'FLOW0001:1:7', NULL, 'UserTask1732444380468', '2551', '2554', NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', NULL, '#USER{admin}', '2024-11-24 20:07:32', NULL, '2024-11-24 20:46:07', 2315127, NULL, 50, NULL, NULL, NULL, '', '2024-11-24 20:46:07');
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_TSK_LOG
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_TSK_LOG`;
CREATE TABLE `ACT_HI_TSK_LOG` (
  `ID_` bigint(20) NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) DEFAULT NULL,
  `TASK_ID_` varchar(64) NOT NULL,
  `TIME_STAMP_` timestamp NOT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `DATA_` varchar(4000) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_TSK_LOG
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_VARINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_VARINST`;
CREATE TABLE `ACT_HI_VARINST` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT 1,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `NAME_` varchar(255) NOT NULL,
  `VAR_TYPE_` varchar(100) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint(20) DEFAULT NULL,
  `TEXT_` varchar(4000) DEFAULT NULL,
  `TEXT2_` varchar(4000) DEFAULT NULL,
  `META_INFO_` varchar(4000) DEFAULT NULL,
  `CREATE_TIME_` datetime DEFAULT NULL,
  `LAST_UPDATED_TIME_` datetime DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_PROCVAR_NAME_TYPE` (`NAME_`,`VAR_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_PROCVAR_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_TASK_ID` (`TASK_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_EXE` (`EXECUTION_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_VARINST
-- ----------------------------
BEGIN;
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('10', 1, '8', '8', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 18:54:06', '2024-11-24 20:50:42');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2502', 0, '2501', '2501', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2503', 0, '2501', '2501', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2512', 0, '2511', '2511', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2513', 0, '2511', '2511', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2522', 1, '2521', '2521', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:06:08', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2523', 1, '2521', '2521', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:06:08', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2532', 0, '2531', '2531', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:06:58', '2024-11-24 20:06:58');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2533', 0, '2531', '2531', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:06:58', '2024-11-24 20:06:58');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2542', 0, '2541', '2541', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:07:21', '2024-11-24 20:07:21');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2543', 0, '2541', '2541', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:07:21', '2024-11-24 20:07:21');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2552', 1, '2551', '2551', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 20:07:32', '2024-11-24 20:46:07');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('2553', 1, '2551', '2551', NULL, 'name', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL, '2024-11-24 20:07:32', '2024-11-24 20:46:07');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5001', 0, '2531', '2531', NULL, 'decision', 'integer', NULL, NULL, NULL, NULL, NULL, 0, '0', NULL, NULL, '2024-11-24 20:39:54', '2024-11-24 20:39:54');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5002', 0, '2531', '2531', NULL, 'auditor', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-11-24 20:39:54', '2024-11-24 20:39:54');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5003', 0, '2531', '2531', NULL, 'opinion', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '同意', NULL, NULL, '2024-11-24 20:39:54', '2024-11-24 20:39:54');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5004', 0, '2541', '2541', NULL, 'decision', 'integer', NULL, NULL, NULL, NULL, NULL, 0, '0', NULL, NULL, '2024-11-24 20:39:55', '2024-11-24 20:39:55');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5005', 0, '2541', '2541', NULL, 'auditor', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-11-24 20:39:55', '2024-11-24 20:39:55');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5006', 0, '2541', '2541', NULL, 'opinion', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '同意', NULL, NULL, '2024-11-24 20:39:55', '2024-11-24 20:39:55');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5007', 0, '2521', '2521', NULL, 'decision', 'integer', NULL, NULL, NULL, NULL, NULL, 2, '2', NULL, NULL, '2024-11-24 20:41:29', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5008', 0, '2521', '2521', NULL, 'auditor', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-11-24 20:41:29', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('5009', 0, '2521', '2521', NULL, 'opinion', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '同意', NULL, NULL, '2024-11-24 20:41:29', '2024-11-24 20:41:29');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7501', 0, '2551', '2551', NULL, 'decision', 'integer', NULL, NULL, NULL, NULL, NULL, 2, '2', NULL, NULL, '2024-11-24 20:46:07', '2024-11-24 20:46:07');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7502', 0, '2551', '2551', NULL, 'auditor', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-11-24 20:46:07', '2024-11-24 20:46:07');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7503', 0, '2551', '2551', NULL, 'opinion', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '同意', NULL, NULL, '2024-11-24 20:46:07', '2024-11-24 20:46:07');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7506', 0, '8', '8', NULL, 'decision', 'integer', NULL, NULL, NULL, NULL, NULL, 2, '2', NULL, NULL, '2024-11-24 20:50:42', '2024-11-24 20:50:42');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7507', 0, '8', '8', NULL, 'auditor', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-11-24 20:50:42', '2024-11-24 20:50:42');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('7508', 0, '8', '8', NULL, 'opinion', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '同意', NULL, NULL, '2024-11-24 20:50:42', '2024-11-24 20:50:42');
INSERT INTO `ACT_HI_VARINST` (`ID_`, `REV_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `TASK_ID_`, `NAME_`, `VAR_TYPE_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`, `CREATE_TIME_`, `LAST_UPDATED_TIME_`) VALUES ('9', 1, '8', '8', NULL, 'code', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL, '2024-11-24 18:54:06', '2024-11-24 20:50:42');
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_BYTEARRAY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_BYTEARRAY`;
CREATE TABLE `ACT_ID_BYTEARRAY` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `BYTES_` longblob DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_BYTEARRAY
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_GROUP
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_GROUP`;
CREATE TABLE `ACT_ID_GROUP` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_GROUP
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_INFO
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_INFO`;
CREATE TABLE `ACT_ID_INFO` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `USER_ID_` varchar(64) DEFAULT NULL,
  `TYPE_` varchar(64) DEFAULT NULL,
  `KEY_` varchar(255) DEFAULT NULL,
  `VALUE_` varchar(255) DEFAULT NULL,
  `PASSWORD_` longblob DEFAULT NULL,
  `PARENT_ID_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_INFO
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_MEMBERSHIP
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_MEMBERSHIP`;
CREATE TABLE `ACT_ID_MEMBERSHIP` (
  `USER_ID_` varchar(64) NOT NULL,
  `GROUP_ID_` varchar(64) NOT NULL,
  PRIMARY KEY (`USER_ID_`,`GROUP_ID_`),
  KEY `ACT_FK_MEMB_GROUP` (`GROUP_ID_`),
  CONSTRAINT `ACT_FK_MEMB_GROUP` FOREIGN KEY (`GROUP_ID_`) REFERENCES `ACT_ID_GROUP` (`ID_`),
  CONSTRAINT `ACT_FK_MEMB_USER` FOREIGN KEY (`USER_ID_`) REFERENCES `ACT_ID_USER` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_MEMBERSHIP
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_PRIV
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_PRIV`;
CREATE TABLE `ACT_ID_PRIV` (
  `ID_` varchar(64) NOT NULL,
  `NAME_` varchar(255) NOT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_PRIV_NAME` (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_PRIV
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_PRIV_MAPPING
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_PRIV_MAPPING`;
CREATE TABLE `ACT_ID_PRIV_MAPPING` (
  `ID_` varchar(64) NOT NULL,
  `PRIV_ID_` varchar(64) NOT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `GROUP_ID_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_PRIV_MAPPING` (`PRIV_ID_`),
  KEY `ACT_IDX_PRIV_USER` (`USER_ID_`),
  KEY `ACT_IDX_PRIV_GROUP` (`GROUP_ID_`),
  CONSTRAINT `ACT_FK_PRIV_MAPPING` FOREIGN KEY (`PRIV_ID_`) REFERENCES `ACT_ID_PRIV` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_PRIV_MAPPING
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_PROPERTY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_PROPERTY`;
CREATE TABLE `ACT_ID_PROPERTY` (
  `NAME_` varchar(64) NOT NULL,
  `VALUE_` varchar(300) DEFAULT NULL,
  `REV_` int(11) DEFAULT NULL,
  PRIMARY KEY (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_PROPERTY
-- ----------------------------
BEGIN;
INSERT INTO `ACT_ID_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('schema.version', '6.8.1.0', 1);
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_TOKEN
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_TOKEN`;
CREATE TABLE `ACT_ID_TOKEN` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `TOKEN_VALUE_` varchar(255) DEFAULT NULL,
  `TOKEN_DATE_` timestamp NULL DEFAULT NULL,
  `IP_ADDRESS_` varchar(255) DEFAULT NULL,
  `USER_AGENT_` varchar(255) DEFAULT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `TOKEN_DATA_` varchar(2000) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_TOKEN
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_ID_USER
-- ----------------------------
DROP TABLE IF EXISTS `ACT_ID_USER`;
CREATE TABLE `ACT_ID_USER` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `FIRST_` varchar(255) DEFAULT NULL,
  `LAST_` varchar(255) DEFAULT NULL,
  `DISPLAY_NAME_` varchar(255) DEFAULT NULL,
  `EMAIL_` varchar(255) DEFAULT NULL,
  `PWD_` varchar(255) DEFAULT NULL,
  `PICTURE_ID_` varchar(64) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_ID_USER
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_PROCDEF_INFO
-- ----------------------------
DROP TABLE IF EXISTS `ACT_PROCDEF_INFO`;
CREATE TABLE `ACT_PROCDEF_INFO` (
  `ID_` varchar(64) NOT NULL,
  `PROC_DEF_ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `INFO_JSON_ID_` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_IDX_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_INFO_JSON_BA` (`INFO_JSON_ID_`),
  CONSTRAINT `ACT_FK_INFO_JSON_BA` FOREIGN KEY (`INFO_JSON_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_INFO_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_PROCDEF_INFO
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_DEPLOYMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_DEPLOYMENT`;
CREATE TABLE `ACT_RE_DEPLOYMENT` (
  `ID_` varchar(64) NOT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `KEY_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `DEPLOY_TIME_` timestamp NULL DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) DEFAULT NULL,
  `ENGINE_VERSION_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_DEPLOYMENT
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RE_DEPLOYMENT` (`ID_`, `NAME_`, `CATEGORY_`, `KEY_`, `TENANT_ID_`, `DEPLOY_TIME_`, `DERIVED_FROM_`, `DERIVED_FROM_ROOT_`, `PARENT_DEPLOYMENT_ID_`, `ENGINE_VERSION_`) VALUES ('4', 'FLOW0001.bpmn20.xml', NULL, NULL, '', '2024-11-24 18:45:02', NULL, NULL, '4', NULL);
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_MODEL
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_MODEL`;
CREATE TABLE `ACT_RE_MODEL` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `KEY_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `LAST_UPDATE_TIME_` timestamp NULL DEFAULT NULL,
  `VERSION_` int(11) DEFAULT NULL,
  `META_INFO_` varchar(4000) DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) DEFAULT NULL,
  `EDITOR_SOURCE_VALUE_ID_` varchar(64) DEFAULT NULL,
  `EDITOR_SOURCE_EXTRA_VALUE_ID_` varchar(64) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_MODEL_SOURCE` (`EDITOR_SOURCE_VALUE_ID_`),
  KEY `ACT_FK_MODEL_SOURCE_EXTRA` (`EDITOR_SOURCE_EXTRA_VALUE_ID_`),
  KEY `ACT_FK_MODEL_DEPLOYMENT` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_MODEL_DEPLOYMENT` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `ACT_RE_DEPLOYMENT` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE` FOREIGN KEY (`EDITOR_SOURCE_VALUE_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE_EXTRA` FOREIGN KEY (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_MODEL
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RE_MODEL` (`ID_`, `REV_`, `NAME_`, `KEY_`, `CATEGORY_`, `CREATE_TIME_`, `LAST_UPDATE_TIME_`, `VERSION_`, `META_INFO_`, `DEPLOYMENT_ID_`, `EDITOR_SOURCE_VALUE_ID_`, `EDITOR_SOURCE_EXTRA_VALUE_ID_`, `TENANT_ID_`) VALUES ('1', 4, '工作流0001', 'FLOW0001', NULL, '2024-11-24 18:21:23', '2024-11-24 18:45:03', 1, '{\"name\":\"FLOW0001\",\"revision\":1,\"description\":\"工作流0001\"}', '4', '2', '3', '');
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_PROCDEF
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_PROCDEF`;
CREATE TABLE `ACT_RE_PROCDEF` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `KEY_` varchar(255) NOT NULL,
  `VERSION_` int(11) NOT NULL,
  `DEPLOYMENT_ID_` varchar(64) DEFAULT NULL,
  `RESOURCE_NAME_` varchar(4000) DEFAULT NULL,
  `DGRM_RESOURCE_NAME_` varchar(4000) DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) DEFAULT NULL,
  `HAS_START_FORM_KEY_` tinyint(4) DEFAULT NULL,
  `HAS_GRAPHICAL_NOTATION_` tinyint(4) DEFAULT NULL,
  `SUSPENSION_STATE_` int(11) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `ENGINE_VERSION_` varchar(255) DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) DEFAULT NULL,
  `DERIVED_VERSION_` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_PROCDEF` (`KEY_`,`VERSION_`,`DERIVED_VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_PROCDEF
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RE_PROCDEF` (`ID_`, `REV_`, `CATEGORY_`, `NAME_`, `KEY_`, `VERSION_`, `DEPLOYMENT_ID_`, `RESOURCE_NAME_`, `DGRM_RESOURCE_NAME_`, `DESCRIPTION_`, `HAS_START_FORM_KEY_`, `HAS_GRAPHICAL_NOTATION_`, `SUSPENSION_STATE_`, `TENANT_ID_`, `ENGINE_VERSION_`, `DERIVED_FROM_`, `DERIVED_FROM_ROOT_`, `DERIVED_VERSION_`) VALUES ('FLOW0001:1:7', 1, 'http://www.activiti.org/processdef', '工作流0001', 'FLOW0001', 1, '4', 'FLOW0001.bpmn20.xml', 'FLOW0001.FLOW0001.png', '备注：第0001个测试流程', 0, 1, 1, '', NULL, NULL, NULL, 0);
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_ACTINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_ACTINST`;
CREATE TABLE `ACT_RU_ACTINST` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT 1,
  `PROC_DEF_ID_` varchar(64) NOT NULL,
  `PROC_INST_ID_` varchar(64) NOT NULL,
  `EXECUTION_ID_` varchar(64) NOT NULL,
  `ACT_ID_` varchar(255) NOT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `ACT_NAME_` varchar(255) DEFAULT NULL,
  `ACT_TYPE_` varchar(255) NOT NULL,
  `ASSIGNEE_` varchar(255) DEFAULT NULL,
  `START_TIME_` datetime NOT NULL,
  `END_TIME_` datetime DEFAULT NULL,
  `DURATION_` bigint(20) DEFAULT NULL,
  `TRANSACTION_ORDER_` int(11) DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_ACTI_START` (`START_TIME_`),
  KEY `ACT_IDX_RU_ACTI_END` (`END_TIME_`),
  KEY `ACT_IDX_RU_ACTI_PROC` (`PROC_INST_ID_`),
  KEY `ACT_IDX_RU_ACTI_PROC_ACT` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC` (`EXECUTION_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC_ACT` (`EXECUTION_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_TASK` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_ACTINST
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2505', 1, 'FLOW0001:1:7', '2501', '2504', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44', 4, 1, NULL, '');
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2506', 1, 'FLOW0001:1:7', '2501', '2504', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:04:44', '2024-11-24 20:04:44', 0, 2, NULL, '');
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2507', 1, 'FLOW0001:1:7', '2501', '2504', 'UserTask1732444380468', '2508', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:04:44', NULL, NULL, 3, NULL, '');
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2515', 1, 'FLOW0001:1:7', '2511', '2514', 'StartNoneEvent1732444378255', NULL, NULL, '开始事件1', 'startEvent', NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19', 0, 1, NULL, '');
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2516', 1, 'FLOW0001:1:7', '2511', '2514', 'sid-91EBA735-F0DC-45F9-8599-E2789C02F41C', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-11-24 20:05:19', '2024-11-24 20:05:19', 0, 2, NULL, '');
INSERT INTO `ACT_RU_ACTINST` (`ID_`, `REV_`, `PROC_DEF_ID_`, `PROC_INST_ID_`, `EXECUTION_ID_`, `ACT_ID_`, `TASK_ID_`, `CALL_PROC_INST_ID_`, `ACT_NAME_`, `ACT_TYPE_`, `ASSIGNEE_`, `START_TIME_`, `END_TIME_`, `DURATION_`, `TRANSACTION_ORDER_`, `DELETE_REASON_`, `TENANT_ID_`) VALUES ('2517', 1, 'FLOW0001:1:7', '2511', '2514', 'UserTask1732444380468', '2518', NULL, '用户任务1', 'userTask', '#USER{admin}', '2024-11-24 20:05:19', NULL, NULL, 3, NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_DEADLETTER_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_DEADLETTER_JOB`;
CREATE TABLE `ACT_RU_DEADLETTER_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `DUEDATE_` timestamp NULL DEFAULT NULL,
  `REPEAT_` varchar(255) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_DJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_DEADLETTER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_DEADLETTER_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_ENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_ENTITYLINK`;
CREATE TABLE `ACT_RU_ENTITYLINK` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CREATE_TIME_` datetime DEFAULT NULL,
  `LINK_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_ENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EVENT_SUBSCR
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EVENT_SUBSCR`;
CREATE TABLE `ACT_RU_EVENT_SUBSCR` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `EVENT_TYPE_` varchar(255) NOT NULL,
  `EVENT_NAME_` varchar(255) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `ACTIVITY_ID_` varchar(64) DEFAULT NULL,
  `CONFIGURATION_` varchar(255) DEFAULT NULL,
  `CREATED_` timestamp NOT NULL DEFAULT current_timestamp(),
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) DEFAULT NULL,
  `LOCK_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EVENT_SUBSCR_CONFIG_` (`CONFIGURATION_`),
  KEY `ACT_IDX_EVENT_SUBSCR_SCOPEREF_` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_EVENT_EXEC` (`EXECUTION_ID_`),
  CONSTRAINT `ACT_FK_EVENT_EXEC` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EVENT_SUBSCR
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EXECUTION
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EXECUTION`;
CREATE TABLE `ACT_RU_EXECUTION` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `BUSINESS_KEY_` varchar(255) DEFAULT NULL,
  `PARENT_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `SUPER_EXEC_` varchar(64) DEFAULT NULL,
  `ROOT_PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `ACT_ID_` varchar(255) DEFAULT NULL,
  `IS_ACTIVE_` tinyint(4) DEFAULT NULL,
  `IS_CONCURRENT_` tinyint(4) DEFAULT NULL,
  `IS_SCOPE_` tinyint(4) DEFAULT NULL,
  `IS_EVENT_SCOPE_` tinyint(4) DEFAULT NULL,
  `IS_MI_ROOT_` tinyint(4) DEFAULT NULL,
  `SUSPENSION_STATE_` int(11) DEFAULT NULL,
  `CACHED_ENT_STATE_` int(11) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `NAME_` varchar(255) DEFAULT NULL,
  `START_ACT_ID_` varchar(255) DEFAULT NULL,
  `START_TIME_` datetime DEFAULT NULL,
  `START_USER_ID_` varchar(255) DEFAULT NULL,
  `LOCK_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint(4) DEFAULT NULL,
  `EVT_SUBSCR_COUNT_` int(11) DEFAULT NULL,
  `TASK_COUNT_` int(11) DEFAULT NULL,
  `JOB_COUNT_` int(11) DEFAULT NULL,
  `TIMER_JOB_COUNT_` int(11) DEFAULT NULL,
  `SUSP_JOB_COUNT_` int(11) DEFAULT NULL,
  `DEADLETTER_JOB_COUNT_` int(11) DEFAULT NULL,
  `EXTERNAL_WORKER_JOB_COUNT_` int(11) DEFAULT NULL,
  `VAR_COUNT_` int(11) DEFAULT NULL,
  `ID_LINK_COUNT_` int(11) DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXEC_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDC_EXEC_ROOT` (`ROOT_PROC_INST_ID_`),
  KEY `ACT_IDX_EXEC_REF_ID_` (`REFERENCE_ID_`),
  KEY `ACT_FK_EXE_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_EXE_PARENT` (`PARENT_ID_`),
  KEY `ACT_FK_EXE_SUPER` (`SUPER_EXEC_`),
  KEY `ACT_FK_EXE_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_EXE_PARENT` FOREIGN KEY (`PARENT_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE,
  CONSTRAINT `ACT_FK_EXE_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_EXE_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ACT_FK_EXE_SUPER` FOREIGN KEY (`SUPER_EXEC_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EXECUTION
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RU_EXECUTION` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PARENT_ID_`, `PROC_DEF_ID_`, `SUPER_EXEC_`, `ROOT_PROC_INST_ID_`, `ACT_ID_`, `IS_ACTIVE_`, `IS_CONCURRENT_`, `IS_SCOPE_`, `IS_EVENT_SCOPE_`, `IS_MI_ROOT_`, `SUSPENSION_STATE_`, `CACHED_ENT_STATE_`, `TENANT_ID_`, `NAME_`, `START_ACT_ID_`, `START_TIME_`, `START_USER_ID_`, `LOCK_TIME_`, `LOCK_OWNER_`, `IS_COUNT_ENABLED_`, `EVT_SUBSCR_COUNT_`, `TASK_COUNT_`, `JOB_COUNT_`, `TIMER_JOB_COUNT_`, `SUSP_JOB_COUNT_`, `DEADLETTER_JOB_COUNT_`, `EXTERNAL_WORKER_JOB_COUNT_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2501', 1, '2501', NULL, NULL, 'FLOW0001:1:7', NULL, '2501', NULL, 1, 0, 1, 0, 0, 1, NULL, '', NULL, 'StartNoneEvent1732444378255', '2024-11-24 20:04:44', NULL, NULL, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_RU_EXECUTION` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PARENT_ID_`, `PROC_DEF_ID_`, `SUPER_EXEC_`, `ROOT_PROC_INST_ID_`, `ACT_ID_`, `IS_ACTIVE_`, `IS_CONCURRENT_`, `IS_SCOPE_`, `IS_EVENT_SCOPE_`, `IS_MI_ROOT_`, `SUSPENSION_STATE_`, `CACHED_ENT_STATE_`, `TENANT_ID_`, `NAME_`, `START_ACT_ID_`, `START_TIME_`, `START_USER_ID_`, `LOCK_TIME_`, `LOCK_OWNER_`, `IS_COUNT_ENABLED_`, `EVT_SUBSCR_COUNT_`, `TASK_COUNT_`, `JOB_COUNT_`, `TIMER_JOB_COUNT_`, `SUSP_JOB_COUNT_`, `DEADLETTER_JOB_COUNT_`, `EXTERNAL_WORKER_JOB_COUNT_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2504', 1, '2501', NULL, '2501', 'FLOW0001:1:7', NULL, '2501', 'UserTask1732444380468', 1, 0, 0, 0, 0, 1, NULL, '', NULL, NULL, '2024-11-24 20:04:44', NULL, NULL, NULL, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_RU_EXECUTION` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PARENT_ID_`, `PROC_DEF_ID_`, `SUPER_EXEC_`, `ROOT_PROC_INST_ID_`, `ACT_ID_`, `IS_ACTIVE_`, `IS_CONCURRENT_`, `IS_SCOPE_`, `IS_EVENT_SCOPE_`, `IS_MI_ROOT_`, `SUSPENSION_STATE_`, `CACHED_ENT_STATE_`, `TENANT_ID_`, `NAME_`, `START_ACT_ID_`, `START_TIME_`, `START_USER_ID_`, `LOCK_TIME_`, `LOCK_OWNER_`, `IS_COUNT_ENABLED_`, `EVT_SUBSCR_COUNT_`, `TASK_COUNT_`, `JOB_COUNT_`, `TIMER_JOB_COUNT_`, `SUSP_JOB_COUNT_`, `DEADLETTER_JOB_COUNT_`, `EXTERNAL_WORKER_JOB_COUNT_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2511', 1, '2511', NULL, NULL, 'FLOW0001:1:7', NULL, '2511', NULL, 1, 0, 1, 0, 0, 1, NULL, '', NULL, 'StartNoneEvent1732444378255', '2024-11-24 20:05:19', NULL, NULL, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_RU_EXECUTION` (`ID_`, `REV_`, `PROC_INST_ID_`, `BUSINESS_KEY_`, `PARENT_ID_`, `PROC_DEF_ID_`, `SUPER_EXEC_`, `ROOT_PROC_INST_ID_`, `ACT_ID_`, `IS_ACTIVE_`, `IS_CONCURRENT_`, `IS_SCOPE_`, `IS_EVENT_SCOPE_`, `IS_MI_ROOT_`, `SUSPENSION_STATE_`, `CACHED_ENT_STATE_`, `TENANT_ID_`, `NAME_`, `START_ACT_ID_`, `START_TIME_`, `START_USER_ID_`, `LOCK_TIME_`, `LOCK_OWNER_`, `IS_COUNT_ENABLED_`, `EVT_SUBSCR_COUNT_`, `TASK_COUNT_`, `JOB_COUNT_`, `TIMER_JOB_COUNT_`, `SUSP_JOB_COUNT_`, `DEADLETTER_JOB_COUNT_`, `EXTERNAL_WORKER_JOB_COUNT_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `CALLBACK_ID_`, `CALLBACK_TYPE_`, `REFERENCE_ID_`, `REFERENCE_TYPE_`, `PROPAGATED_STAGE_INST_ID_`, `BUSINESS_STATUS_`) VALUES ('2514', 1, '2511', NULL, '2511', 'FLOW0001:1:7', NULL, '2511', 'UserTask1732444380468', 1, 0, 0, 0, 0, 1, NULL, '', NULL, NULL, '2024-11-24 20:05:19', NULL, NULL, NULL, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EXTERNAL_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EXTERNAL_JOB`;
CREATE TABLE `ACT_RU_EXTERNAL_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `LOCK_EXP_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) DEFAULT NULL,
  `RETRIES_` int(11) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `DUEDATE_` timestamp NULL DEFAULT NULL,
  `REPEAT_` varchar(255) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_EJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EXTERNAL_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_HISTORY_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_HISTORY_JOB`;
CREATE TABLE `ACT_RU_HISTORY_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `LOCK_EXP_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `RETRIES_` int(11) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `ADV_HANDLER_CFG_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_HISTORY_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_IDENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_IDENTITYLINK`;
CREATE TABLE `ACT_RU_IDENTITYLINK` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `GROUP_ID_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  `USER_ID_` varchar(255) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_IDENT_LNK_GROUP` (`GROUP_ID_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_ATHRZ_PROCEDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_TSKASS_TASK` (`TASK_ID_`),
  KEY `ACT_FK_IDL_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_ATHRZ_PROCEDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_IDL_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TSKASS_TASK` FOREIGN KEY (`TASK_ID_`) REFERENCES `ACT_RU_TASK` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_IDENTITYLINK
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RU_IDENTITYLINK` (`ID_`, `REV_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `PROC_INST_ID_`, `PROC_DEF_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2510', 1, NULL, 'participant', '#USER{admin}', NULL, '2501', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `ACT_RU_IDENTITYLINK` (`ID_`, `REV_`, `GROUP_ID_`, `TYPE_`, `USER_ID_`, `TASK_ID_`, `PROC_INST_ID_`, `PROC_DEF_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`) VALUES ('2520', 1, NULL, 'participant', '#USER{admin}', NULL, '2511', NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_JOB`;
CREATE TABLE `ACT_RU_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `LOCK_EXP_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) DEFAULT NULL,
  `RETRIES_` int(11) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `DUEDATE_` timestamp NULL DEFAULT NULL,
  `REPEAT_` varchar(255) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_JOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_SUSPENDED_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_SUSPENDED_JOB`;
CREATE TABLE `ACT_RU_SUSPENDED_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) DEFAULT NULL,
  `RETRIES_` int(11) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `DUEDATE_` timestamp NULL DEFAULT NULL,
  `REPEAT_` varchar(255) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_SJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_SUSPENDED_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_SUSPENDED_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_TASK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_TASK`;
CREATE TABLE `ACT_RU_TASK` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) DEFAULT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) DEFAULT NULL,
  `OWNER_` varchar(255) DEFAULT NULL,
  `ASSIGNEE_` varchar(255) DEFAULT NULL,
  `DELEGATION_` varchar(64) DEFAULT NULL,
  `PRIORITY_` int(11) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `DUE_DATE_` datetime DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `SUSPENSION_STATE_` int(11) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  `FORM_KEY_` varchar(255) DEFAULT NULL,
  `CLAIM_TIME_` datetime DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint(4) DEFAULT NULL,
  `VAR_COUNT_` int(11) DEFAULT NULL,
  `ID_LINK_COUNT_` int(11) DEFAULT NULL,
  `SUB_TASK_COUNT_` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TASK_CREATE` (`CREATE_TIME_`),
  KEY `ACT_IDX_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TASK_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_TASK_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_TASK_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TASK_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_TASK
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RU_TASK` (`ID_`, `REV_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `TASK_DEF_KEY_`, `OWNER_`, `ASSIGNEE_`, `DELEGATION_`, `PRIORITY_`, `CREATE_TIME_`, `DUE_DATE_`, `CATEGORY_`, `SUSPENSION_STATE_`, `TENANT_ID_`, `FORM_KEY_`, `CLAIM_TIME_`, `IS_COUNT_ENABLED_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `SUB_TASK_COUNT_`) VALUES ('2508', 1, '2504', '2501', 'FLOW0001:1:7', NULL, NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', 'UserTask1732444380468', NULL, '#USER{admin}', NULL, 50, '2024-11-24 20:04:44', NULL, NULL, 1, '', NULL, NULL, 1, 0, 0, 0);
INSERT INTO `ACT_RU_TASK` (`ID_`, `REV_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `PROC_DEF_ID_`, `TASK_DEF_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `SCOPE_DEFINITION_ID_`, `PROPAGATED_STAGE_INST_ID_`, `NAME_`, `PARENT_TASK_ID_`, `DESCRIPTION_`, `TASK_DEF_KEY_`, `OWNER_`, `ASSIGNEE_`, `DELEGATION_`, `PRIORITY_`, `CREATE_TIME_`, `DUE_DATE_`, `CATEGORY_`, `SUSPENSION_STATE_`, `TENANT_ID_`, `FORM_KEY_`, `CLAIM_TIME_`, `IS_COUNT_ENABLED_`, `VAR_COUNT_`, `ID_LINK_COUNT_`, `SUB_TASK_COUNT_`) VALUES ('2518', 1, '2514', '2511', 'FLOW0001:1:7', NULL, NULL, NULL, NULL, NULL, NULL, '用户任务1', NULL, 'ccs=\"\";editable=\"0\";grade=\"2\";relation=\"1\";isassign=\"\";isvalidate=\"false\";', 'UserTask1732444380468', NULL, '#USER{admin}', NULL, 50, '2024-11-24 20:05:19', NULL, NULL, 1, '', NULL, NULL, 1, 0, 0, 0);
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_TIMER_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_TIMER_JOB`;
CREATE TABLE `ACT_RU_TIMER_JOB` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `LOCK_EXP_TIME_` timestamp NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) DEFAULT NULL,
  `RETRIES_` int(11) DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) DEFAULT NULL,
  `DUEDATE_` timestamp NULL DEFAULT NULL,
  `REPEAT_` varchar(255) DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) DEFAULT NULL,
  `CREATE_TIME_` timestamp NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_TIMER_JOB_DUEDATE` (`DUEDATE_`),
  KEY `ACT_IDX_TJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TIMER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_TIMER_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_VARIABLE
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_VARIABLE`;
CREATE TABLE `ACT_RU_VARIABLE` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `TYPE_` varchar(255) NOT NULL,
  `NAME_` varchar(255) NOT NULL,
  `EXECUTION_ID_` varchar(64) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) DEFAULT NULL,
  `TASK_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint(20) DEFAULT NULL,
  `TEXT_` varchar(4000) DEFAULT NULL,
  `TEXT2_` varchar(4000) DEFAULT NULL,
  `META_INFO_` varchar(4000) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_RU_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_VAR_BYTEARRAY` (`BYTEARRAY_ID_`),
  KEY `ACT_IDX_VARIABLE_TASK_ID` (`TASK_ID_`),
  KEY `ACT_FK_VAR_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_VAR_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_VAR_BYTEARRAY` FOREIGN KEY (`BYTEARRAY_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_VARIABLE
-- ----------------------------
BEGIN;
INSERT INTO `ACT_RU_VARIABLE` (`ID_`, `REV_`, `TYPE_`, `NAME_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `TASK_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`) VALUES ('2502', 1, 'string', 'code', '2501', '2501', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL);
INSERT INTO `ACT_RU_VARIABLE` (`ID_`, `REV_`, `TYPE_`, `NAME_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `TASK_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`) VALUES ('2503', 1, 'string', 'name', '2501', '2501', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL);
INSERT INTO `ACT_RU_VARIABLE` (`ID_`, `REV_`, `TYPE_`, `NAME_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `TASK_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`) VALUES ('2512', 1, 'string', 'code', '2511', '2511', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'T0000', NULL, NULL);
INSERT INTO `ACT_RU_VARIABLE` (`ID_`, `REV_`, `TYPE_`, `NAME_`, `EXECUTION_ID_`, `PROC_INST_ID_`, `TASK_ID_`, `SCOPE_ID_`, `SUB_SCOPE_ID_`, `SCOPE_TYPE_`, `BYTEARRAY_ID_`, `DOUBLE_`, `LONG_`, `TEXT_`, `TEXT2_`, `META_INFO_`) VALUES ('2513', 1, 'string', 'name', '2511', '2511', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '模板模型', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for FLW_CHANNEL_DEFINITION
-- ----------------------------
DROP TABLE IF EXISTS `FLW_CHANNEL_DEFINITION`;
CREATE TABLE `FLW_CHANNEL_DEFINITION` (
  `ID_` varchar(255) NOT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `VERSION_` int(11) DEFAULT NULL,
  `KEY_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) DEFAULT NULL,
  `DESCRIPTION_` varchar(255) DEFAULT NULL,
  `TYPE_` varchar(255) DEFAULT NULL,
  `IMPLEMENTATION_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_CHANNEL_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_CHANNEL_DEFINITION
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_DEFINITION
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_DEFINITION`;
CREATE TABLE `FLW_EVENT_DEFINITION` (
  `ID_` varchar(255) NOT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `VERSION_` int(11) DEFAULT NULL,
  `KEY_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) DEFAULT NULL,
  `DESCRIPTION_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_EVENT_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_DEFINITION
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_DEPLOYMENT
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_DEPLOYMENT`;
CREATE TABLE `FLW_EVENT_DEPLOYMENT` (
  `ID_` varchar(255) NOT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `CATEGORY_` varchar(255) DEFAULT NULL,
  `DEPLOY_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_DEPLOYMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_RESOURCE
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_RESOURCE`;
CREATE TABLE `FLW_EVENT_RESOURCE` (
  `ID_` varchar(255) NOT NULL,
  `NAME_` varchar(255) DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) DEFAULT NULL,
  `RESOURCE_BYTES_` longblob DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_RESOURCE
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EV_DATABASECHANGELOG
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EV_DATABASECHANGELOG`;
CREATE TABLE `FLW_EV_DATABASECHANGELOG` (
  `ID` varchar(255) NOT NULL,
  `AUTHOR` varchar(255) NOT NULL,
  `FILENAME` varchar(255) NOT NULL,
  `DATEEXECUTED` datetime NOT NULL,
  `ORDEREXECUTED` int(11) NOT NULL,
  `EXECTYPE` varchar(10) NOT NULL,
  `MD5SUM` varchar(35) DEFAULT NULL,
  `DESCRIPTION` varchar(255) DEFAULT NULL,
  `COMMENTS` varchar(255) DEFAULT NULL,
  `TAG` varchar(255) DEFAULT NULL,
  `LIQUIBASE` varchar(20) DEFAULT NULL,
  `CONTEXTS` varchar(255) DEFAULT NULL,
  `LABELS` varchar(255) DEFAULT NULL,
  `DEPLOYMENT_ID` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EV_DATABASECHANGELOG
-- ----------------------------
BEGIN;
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-11-24 10:20:28', 1, 'EXECUTED', '8:1b0c48c9cf7945be799d868a2626d687', 'createTable tableName=FLW_EVENT_DEPLOYMENT; createTable tableName=FLW_EVENT_RESOURCE; createTable tableName=FLW_EVENT_DEFINITION; createIndex indexName=ACT_IDX_EVENT_DEF_UNIQ, tableName=FLW_EVENT_DEFINITION; createTable tableName=FLW_CHANNEL_DEFIN...', '', NULL, '4.9.0', NULL, NULL, '2443628123');
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('2', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-11-24 10:20:28', 2, 'EXECUTED', '8:0ea825feb8e470558f0b5754352b9cda', 'addColumn tableName=FLW_CHANNEL_DEFINITION; addColumn tableName=FLW_CHANNEL_DEFINITION', '', NULL, '4.9.0', NULL, NULL, '2443628123');
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('3', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-11-24 10:20:28', 3, 'EXECUTED', '8:3c2bb293350b5cbe6504331980c9dcee', 'customChange', '', NULL, '4.9.0', NULL, NULL, '2443628123');
COMMIT;

-- ----------------------------
-- Table structure for FLW_EV_DATABASECHANGELOGLOCK
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EV_DATABASECHANGELOGLOCK`;
CREATE TABLE `FLW_EV_DATABASECHANGELOGLOCK` (
  `ID` int(11) NOT NULL,
  `LOCKED` bit(1) NOT NULL,
  `LOCKGRANTED` datetime DEFAULT NULL,
  `LOCKEDBY` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EV_DATABASECHANGELOGLOCK
-- ----------------------------
BEGIN;
INSERT INTO `FLW_EV_DATABASECHANGELOGLOCK` (`ID`, `LOCKED`, `LOCKGRANTED`, `LOCKEDBY`) VALUES (1, b'0', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for FLW_RU_BATCH
-- ----------------------------
DROP TABLE IF EXISTS `FLW_RU_BATCH`;
CREATE TABLE `FLW_RU_BATCH` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `TYPE_` varchar(64) NOT NULL,
  `SEARCH_KEY_` varchar(255) DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) DEFAULT NULL,
  `CREATE_TIME_` datetime NOT NULL,
  `COMPLETE_TIME_` datetime DEFAULT NULL,
  `STATUS_` varchar(255) DEFAULT NULL,
  `BATCH_DOC_ID_` varchar(64) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of FLW_RU_BATCH
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_RU_BATCH_PART
-- ----------------------------
DROP TABLE IF EXISTS `FLW_RU_BATCH_PART`;
CREATE TABLE `FLW_RU_BATCH_PART` (
  `ID_` varchar(64) NOT NULL,
  `REV_` int(11) DEFAULT NULL,
  `BATCH_ID_` varchar(64) DEFAULT NULL,
  `TYPE_` varchar(64) NOT NULL,
  `SCOPE_ID_` varchar(64) DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) DEFAULT NULL,
  `SEARCH_KEY_` varchar(255) DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) DEFAULT NULL,
  `CREATE_TIME_` datetime NOT NULL,
  `COMPLETE_TIME_` datetime DEFAULT NULL,
  `STATUS_` varchar(255) DEFAULT NULL,
  `RESULT_DOC_ID_` varchar(64) DEFAULT NULL,
  `TENANT_ID_` varchar(255) DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `FLW_IDX_BATCH_PART` (`BATCH_ID_`),
  CONSTRAINT `FLW_FK_BATCH_PART_PARENT` FOREIGN KEY (`BATCH_ID_`) REFERENCES `FLW_RU_BATCH` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of FLW_RU_BATCH_PART
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for act_ext_audit
-- ----------------------------
DROP TABLE IF EXISTS `act_ext_audit`;
CREATE TABLE `act_ext_audit` (
  `uid` bigint(20) NOT NULL COMMENT '业务ID',
  `area_code` varchar(50) NOT NULL COMMENT '主题编码',
  `data_type` varchar(50) NOT NULL COMMENT '数据类型;业务决定的枚举',
  `task_id` varchar(50) DEFAULT NULL COMMENT '任务进度ID;绑定流程编码',
  `data_id` varchar(50) NOT NULL COMMENT '数据ID',
  `work_flow_id` varchar(50) NOT NULL COMMENT '运行实例ID',
  `audit_flag` int(11) DEFAULT NULL COMMENT '审核状态',
  `own_dept_id` varchar(50) DEFAULT NULL COMMENT '归属部门',
  `data_desc` text DEFAULT NULL COMMENT '数据描述',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  UNIQUE KEY `idu_audit_gid` (`area_code`,`data_type`,`data_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='扩展审核状态';

-- ----------------------------
-- Records of act_ext_audit
-- ----------------------------
BEGIN;
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860638017138941952, 'AREA01', 'model', 'taskId_a1d472007c50', 'M1679005573089701888', '8', 3, NULL, '编码：T0000 名称：模板模型', 'admin', '2024-11-24 18:54:06', 'admin', '2024-11-24 20:50:42', NULL, NULL);
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860655791743684608, 'AREA01', 'model', 'task_7e1c50bd0eb8', 'M1679005573089702001', '2511', 2, NULL, '编码：T0001 名称：模板模型01', 'admin', '2024-11-24 20:04:44', 'admin', '2024-11-24 20:05:19', NULL, NULL);
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656144698560512, 'AREA01', 'model', 'task_7e1c50bd0eb8', 'M1679005573089702002', '2521', 3, NULL, '编码：T0002 名称：模板模型02', 'admin', '2024-11-24 20:06:08', 'admin', '2024-11-24 20:06:08', NULL, NULL);
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656351792320512, 'AREA01', 'model', 'taskId_a1d472007c50', 'M1679005573089702003', '2531', 0, NULL, '编码：T0003 名称：模板模型03', 'admin', '2024-11-24 20:06:58', 'admin', '2024-11-24 20:39:55', NULL, NULL);
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656447443423232, 'AREA01', 'model', 'taskId_a1d472007c50', 'M1679005573089702004', '2541', 0, NULL, '编码：T0004 名称：模板模型04', 'admin', '2024-11-24 20:07:21', 'admin', '2024-11-24 20:39:55', NULL, NULL);
INSERT INTO `act_ext_audit` (`uid`, `area_code`, `data_type`, `task_id`, `data_id`, `work_flow_id`, `audit_flag`, `own_dept_id`, `data_desc`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656496353202176, 'AREA01', 'model', 'taskId_a1d472007c50', 'M1679005573089702005', '2551', 3, NULL, '编码：T0005 名称：模板模型05', 'admin', '2024-11-24 20:07:32', 'admin', '2024-11-24 20:46:07', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_ext_bind
-- ----------------------------
DROP TABLE IF EXISTS `act_ext_bind`;
CREATE TABLE `act_ext_bind` (
  `uid` bigint(20) NOT NULL COMMENT '业务ID',
  `area_code` varchar(50) NOT NULL COMMENT '主题编码',
  `data_type` varchar(50) NOT NULL COMMENT '数据类型;业务决定的枚举',
  `flow_code` varchar(50) NOT NULL COMMENT '流程编码;绑定流程编码',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  UNIQUE KEY `idu_bind_gid` (`area_code`,`data_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工作流扩展绑定';

-- ----------------------------
-- Records of act_ext_bind
-- ----------------------------
BEGIN;
INSERT INTO `act_ext_bind` (`uid`, `area_code`, `data_type`, `flow_code`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860636870391062528, 'AREA01', 'model', 'FLOW0001', '0000', '2024-11-24 18:49:33', '0000', '2024-11-24 18:49:33', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_ext_def
-- ----------------------------
DROP TABLE IF EXISTS `act_ext_def`;
CREATE TABLE `act_ext_def` (
  `uid` bigint(20) NOT NULL COMMENT '业务ID',
  `area_code` varchar(50) DEFAULT NULL COMMENT '主题编码',
  `flow_code` varchar(50) DEFAULT NULL COMMENT '流程编码',
  `flow_name` varchar(100) DEFAULT NULL COMMENT '流程名称',
  `flow_version` int(11) DEFAULT NULL COMMENT '流程版本',
  `act_model_id` varchar(100) DEFAULT NULL COMMENT 'Act模型ID;Model::getId',
  `act_flow_id` varchar(100) DEFAULT NULL COMMENT 'Act定义ID;ProcessDefinition::getId',
  `audit_flag` int(11) DEFAULT NULL COMMENT '审核标记',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工作流扩展定义';

-- ----------------------------
-- Records of act_ext_def
-- ----------------------------
BEGIN;
INSERT INTO `act_ext_def` (`uid`, `area_code`, `flow_code`, `flow_name`, `flow_version`, `act_model_id`, `act_flow_id`, `audit_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860629783443365888, 'AREA01', 'FLOW0001', '工作流0001', 0, '1', 'FLOW0001:1:7', 1, '0000', '2024-11-24 18:21:23', '0000', '2024-11-24 18:21:23', NULL, '备注：第0001个测试流程');
COMMIT;

-- ----------------------------
-- Table structure for act_ext_flow_log
-- ----------------------------
DROP TABLE IF EXISTS `act_ext_flow_log`;
CREATE TABLE `act_ext_flow_log` (
  `uid` bigint(20) NOT NULL COMMENT '业务ID',
  `area_code` varchar(50) NOT NULL COMMENT '主题编码',
  `data_type` varchar(50) NOT NULL COMMENT '数据类型;业务决定的枚举',
  `data_id` varchar(50) NOT NULL COMMENT '数据ID',
  `work_flow_id` varchar(50) DEFAULT NULL COMMENT '运行实例ID',
  `audit_flag` varchar(255) DEFAULT NULL COMMENT '审核状态',
  `top_flag` int(11) DEFAULT NULL COMMENT '最新标记;1是0否',
  `decision_name` varchar(50) DEFAULT NULL COMMENT '操作名称',
  `message` varchar(100) DEFAULT NULL COMMENT '审核意见',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  KEY `idx_log_group_id` (`area_code`,`data_type`,`data_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='流程日志';

-- ----------------------------
-- Records of act_ext_flow_log
-- ----------------------------
BEGIN;
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860638017252188160, 'AREA01', 'model', 'M1679005573089701888', '8', '2', 0, '提交', '提交', 'admin', '2024-11-27 20:16:34', 'admin', '2024-11-24 20:50:42', NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860655791919845376, 'AREA01', 'model', 'M1679005573089702001', '2501', '2', 0, '提交', '提交', 'admin', '2024-11-27 20:16:37', 'admin', '2024-11-24 20:05:19', NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860655935977410560, 'AREA01', 'model', 'M1679005573089702001', '2511', '2', 1, '提交', '提交', 'admin', '2024-11-27 20:16:49', NULL, NULL, NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656144761475072, 'AREA01', 'model', 'M1679005573089702002', '2521', '2', 1, '提交', '提交', 'admin', '2024-11-27 20:16:53', NULL, NULL, NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656351851040768, 'AREA01', 'model', 'M1679005573089702003', '2531', '2', 0, '提交', '提交', 'admin', '2024-11-27 20:16:55', 'admin', '2024-11-24 20:39:55', NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656447489560576, 'AREA01', 'model', 'M1679005573089702004', '2541', '2', 0, '提交', '提交', 'admin', '2024-11-27 20:16:58', 'admin', '2024-11-24 20:39:55', NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860656496403533824, 'AREA01', 'model', 'M1679005573089702005', '2551', '2', 0, '提交', '提交', 'admin', '2024-11-27 20:17:00', 'admin', '2024-11-24 20:46:07', NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860664643528597504, 'AREA01', 'model', 'M1679005573089702003', NULL, '0', 1, '拒绝', '同意', 'admin', '2024-11-27 20:17:02', NULL, NULL, NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860664643927056384, 'AREA01', 'model', 'M1679005573089702004', NULL, '0', 1, '拒绝', '同意', 'admin', '2024-11-27 20:17:05', NULL, NULL, NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860666204359114752, 'AREA01', 'model', 'M1679005573089702005', '2551', '3', 1, '同意', '同意', 'admin', '2024-11-27 20:17:08', NULL, NULL, NULL, NULL);
INSERT INTO `act_ext_flow_log` (`uid`, `area_code`, `data_type`, `data_id`, `work_flow_id`, `audit_flag`, `top_flag`, `decision_name`, `message`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860667357717217280, 'AREA01', 'model', 'M1679005573089701888', '8', '3', 1, '同意', '同意', 'admin', '2024-11-27 20:17:10', NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_ext_todo
-- ----------------------------
DROP TABLE IF EXISTS `act_ext_todo`;
CREATE TABLE `act_ext_todo` (
  `uid` bigint(20) NOT NULL COMMENT '业务ID',
  `pid` bigint(20) NOT NULL COMMENT '审核ID',
  `user_id` varchar(50) NOT NULL COMMENT '用户ID',
  `dept_id` varchar(50) NOT NULL COMMENT '部门ID',
  `user_name` varchar(50) DEFAULT NULL COMMENT '用户名称',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  KEY `idx_todo_pid` (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='扩展代办';

-- ----------------------------
-- Records of act_ext_todo
-- ----------------------------
BEGIN;
INSERT INTO `act_ext_todo` (`uid`, `pid`, `user_id`, `dept_id`, `user_name`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES (1860655935947411458, 1860655791743684608, 'admin', '103', '瓜瓜', 'admin', '2024-11-24 20:05:19', 'admin', '2024-11-24 20:05:19', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for dma_gys0001_idx
-- ----------------------------
DROP TABLE IF EXISTS `dma_gys0001_idx`;
CREATE TABLE `dma_gys0001_idx` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mco` varchar(100) DEFAULT NULL COMMENT '主编码;右模糊查询',
  `cco` varchar(100) DEFAULT NULL COMMENT '分类编码;右模糊查询',
  `type_src` varchar(10) DEFAULT NULL COMMENT '来源类型;0界面 1导入 2接口 3ETL 4其他',
  `task_id` varchar(50) DEFAULT NULL COMMENT '任务ID',
  `task_state` int(11) NOT NULL DEFAULT 0 COMMENT '任务运行态;0未开始1运行中3暂停4已完成',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `c01` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c02` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c03` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c04` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c05` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c06` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c07` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c08` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c09` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c10` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c11` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c12` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c13` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c14` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c15` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `n01` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n02` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n03` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n04` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n05` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `d01` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d02` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d03` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d04` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d05` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`),
  KEY `ida_gys0001_code_mas` (`mco`),
  KEY `ida_gys0001_code_cat` (`cco`),
  KEY `ida_gys0001_pid` (`pid`),
  KEY `ida_gys0001_mid` (`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据A索引表';

-- ----------------------------
-- Records of dma_gys0001_idx
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dma_gys0001_val
-- ----------------------------
DROP TABLE IF EXISTS `dma_gys0001_val`;
CREATE TABLE `dma_gys0001_val` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `data` text DEFAULT NULL COMMENT '字段值',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`),
  KEY `ida_gys0001_pid_v` (`pid`),
  KEY `ida_gys0001_mid_v` (`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据A字段值';

-- ----------------------------
-- Records of dma_gys0001_val
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dmb_gys0001_idx
-- ----------------------------
DROP TABLE IF EXISTS `dmb_gys0001_idx`;
CREATE TABLE `dmb_gys0001_idx` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mco` varchar(100) DEFAULT NULL COMMENT '主编码;右模糊查询',
  `cco` varchar(100) DEFAULT NULL COMMENT '分类编码;右模糊查询',
  `type_src` varchar(10) DEFAULT NULL COMMENT '来源类型;0界面 1导入 2接口 3ETL 4其他',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `c01` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c02` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c03` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c04` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c05` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c06` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c07` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c08` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c09` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c10` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c11` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c12` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c13` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c14` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c15` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `n01` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n02` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n03` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n04` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n05` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `d01` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d02` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d03` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d04` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d05` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`),
  KEY `idb_gys0001_code_mas` (`mco`),
  KEY `idb_gys0001_code_cat` (`cco`),
  KEY `idb_gys0001_pid` (`pid`),
  KEY `idb_gys0001_mid` (`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据A索引表';

-- ----------------------------
-- Records of dmb_gys0001_idx
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dmb_gys0001_val
-- ----------------------------
DROP TABLE IF EXISTS `dmb_gys0001_val`;
CREATE TABLE `dmb_gys0001_val` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `data` text DEFAULT NULL COMMENT '字段值',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`),
  KEY `idb_gys0001_pid_v` (`pid`),
  KEY `idb_gys0001_mid_v` (`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据A字段值';

-- ----------------------------
-- Records of dmb_gys0001_val
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dmc_gys0001_idx
-- ----------------------------
DROP TABLE IF EXISTS `dmc_gys0001_idx`;
CREATE TABLE `dmc_gys0001_idx` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mco` varchar(100) DEFAULT NULL COMMENT '主编码;右模糊查询',
  `cco` varchar(100) DEFAULT NULL COMMENT '分类编码;右模糊查询',
  `type_src` varchar(10) DEFAULT NULL COMMENT '来源类型;0界面 1导入 2接口 3ETL 4其他',
  `task_id` varchar(50) DEFAULT NULL COMMENT '任务ID',
  `task_state` int(11) NOT NULL DEFAULT 0 COMMENT '任务运行态;0未开始1运行中3暂停4已完成',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `c01` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c02` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c03` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c04` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c05` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c06` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c07` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c08` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c09` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c10` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c11` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c12` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c13` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c14` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `c15` varchar(100) DEFAULT NULL COMMENT '字符01;动态字符索引',
  `n01` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n02` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n03` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n04` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `n05` decimal(18,6) DEFAULT NULL COMMENT '数字01;动态数字索引',
  `d01` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d02` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d03` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d04` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `d05` datetime DEFAULT NULL COMMENT '日期01;动态日期索引',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`,`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据C索引表';

-- ----------------------------
-- Records of dmc_gys0001_idx
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dmc_gys0001_val
-- ----------------------------
DROP TABLE IF EXISTS `dmc_gys0001_val`;
CREATE TABLE `dmc_gys0001_val` (
  `uid` bigint(20) NOT NULL COMMENT '主键ID',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '数据版本',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID;层级模型',
  `mid` bigint(20) DEFAULT NULL COMMENT '主线ID;扩展模型',
  `mvs` int(11) NOT NULL DEFAULT 0 COMMENT '模型版本',
  `data` text DEFAULT NULL COMMENT '字段值',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `vip_level` int(11) NOT NULL DEFAULT 0 COMMENT '访问级别',
  `dept_id` varchar(32) DEFAULT NULL COMMENT '提报单位',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '租户号',
  `create_by` varchar(32) NOT NULL COMMENT '创建人',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_by` varchar(32) NOT NULL COMMENT '更新人',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `revision` int(11) NOT NULL DEFAULT 0 COMMENT '乐观锁',
  PRIMARY KEY (`uid`,`version`),
  KEY `idc_gys0001_pid_v` (`pid`),
  KEY `idc_gys0001_mid_v` (`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据C字段值';

-- ----------------------------
-- Records of dmc_gys0001_val
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for dta_model
-- ----------------------------
DROP TABLE IF EXISTS `dta_model`;
CREATE TABLE `dta_model` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '类型;数据字典sys_def_type',
  `area_code` varchar(20) NOT NULL COMMENT '主题编码',
  `slave_sw` varchar(10) DEFAULT NULL COMMENT '扩展标记',
  `classify_sw` varchar(10) DEFAULT NULL COMMENT '支持分类',
  `class_prop_sw` varchar(10) DEFAULT NULL COMMENT '属性模板',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;主分类，主模型',
  `audit_flag` int(11) DEFAULT 0 COMMENT '审核标记',
  `reject_flag` int(11) DEFAULT 0 COMMENT '回退标记',
  `state_json` varchar(2000) DEFAULT NULL COMMENT '状态JSON',
  `menu_json` varchar(2000) DEFAULT NULL COMMENT '环节JSON',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  `vip_level` int(11) DEFAULT NULL COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  UNIQUE KEY `idx_model_code` (`code`),
  KEY `idx_model_acode` (`area_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据模型A';

-- ----------------------------
-- Records of dta_model
-- ----------------------------
BEGIN;
INSERT INTO `dta_model` (`uid`, `code`, `name`, `data_type`, `area_code`, `slave_sw`, `classify_sw`, `class_prop_sw`, `link_code`, `audit_flag`, `reject_flag`, `state_json`, `menu_json`, `swt_json`, `ext_json`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('M1867818439372955648', 'TPL0000', '模板模型0000', 'A', 'TEST01', '0', '0', '0', '', 1, 0, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2024-12-14 14:26:32', NULL, NULL, NULL, '模板模型调整');
INSERT INTO `dta_model` (`uid`, `code`, `name`, `data_type`, `area_code`, `slave_sw`, `classify_sw`, `class_prop_sw`, `link_code`, `audit_flag`, `reject_flag`, `state_json`, `menu_json`, `swt_json`, `ext_json`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('M1867898642543620096', 'GYS0001', '供应商0001', 'A', 'TEST01', '0', '0', '0', NULL, 4, 0, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-17 19:39:29', NULL, '供应商也可以是厂商');
COMMIT;

-- ----------------------------
-- Table structure for dta_prop
-- ----------------------------
DROP TABLE IF EXISTS `dta_prop`;
CREATE TABLE `dta_prop` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `model_code` varchar(20) NOT NULL COMMENT '模型编码',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '数据类型;数据字典prop_data_type',
  `view_type` varchar(10) NOT NULL COMMENT '展示类型;数据字典prop_view_type',
  `src_type` varchar(10) NOT NULL COMMENT '来源类型;数据字典prop_source_type',
  `quick_sw` varchar(10) DEFAULT '0' COMMENT '快捷搜索',
  `advance_sw` varchar(10) DEFAULT '0' COMMENT '高级搜索',
  `view_sw` varchar(10) DEFAULT '0' COMMENT '列表显示',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;数据来源模型',
  `hide_code` varchar(20) DEFAULT NULL COMMENT '隐藏编码',
  `col_code` varchar(10) DEFAULT NULL COMMENT '索引字段;数据库字段，查询使用',
  `col_num` int(11) DEFAULT 50 COMMENT '显示排序',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `edit_flag` int(11) DEFAULT 0 COMMENT '修改标记;0新增1变更2内置4停用',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  `vip_level` int(11) DEFAULT NULL COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  KEY `idx_prop_mcode` (`model_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据属性A';

-- ----------------------------
-- Records of dta_prop
-- ----------------------------
BEGIN;
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105152708608', 'TPL0000', 'uid', '主键ID', 'B', 'B0', '0', '0', '0', '0', NULL, NULL, NULL, 1, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, 0, 'admin', '2024-12-14 14:41:06', 'admin', '2024-12-14 14:41:30', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105169485824', 'TPL0000', 'pid', '上级ID', 'B', 'B0', '0', '0', '0', '0', NULL, NULL, NULL, 2, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":20}', 3, 0, 0, 'admin', '2024-12-14 14:41:06', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105186263040', 'TPL0000', 'mid', '主线ID', 'B', 'B0', '0', '0', '0', '0', NULL, NULL, NULL, 3, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, 0, 'admin', '2024-12-14 14:41:06', 'admin', '2024-12-14 14:41:39', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105198845952', 'TPL0000', 'mco', '主编码', 'A', 'A1', '1', '1', '0', '1', NULL, NULL, NULL, 4, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 1, 0, 0, 'admin', '2024-12-14 14:41:06', 'admin', '2024-12-14 14:49:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105215623168', 'TPL0000', 'cco', '分类编码', 'A', 'X1', '0', '1', '1', '1', NULL, NULL, NULL, 5, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 3, 0, 0, 'admin', '2024-12-14 14:41:06', 'admin', '2024-12-14 14:57:47', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105215623170', 'TPL0000', 'lco', '层级编码', 'A', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 6, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":100}', 3, 0, 0, 'admin', '2024-12-14 14:41:06', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105232400384', 'TPL0000', 'type_src', '来源类型', 'A', 'X1', '0', '0', '0', '1', NULL, NULL, NULL, 7, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":10}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 14:58:09', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105244983296', 'TPL0000', 'task_id', '任务ID', 'A', 'X1', '0', '0', '0', '1', NULL, NULL, NULL, 99, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 14:58:32', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105261760512', 'TPL0000', 'task_state', '任务运行态', 'B', 'B0', '0', '0', '0', '1', NULL, NULL, NULL, 99, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 14:58:41', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105278537728', 'TPL0000', 'mvs', '模型版本', 'B', 'B0', '0', '0', '0', '1', NULL, NULL, NULL, 80, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 14:58:49', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105341452288', 'TPL0000', 'remark', '备注', 'A', 'A1', '1', '0', '1', '0', NULL, NULL, NULL, 91, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":300}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 16:04:24', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105354035200', 'TPL0000', 'vip_level', '访问级别', 'B', 'B0', '0', '0', '0', '0', NULL, NULL, NULL, 92, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 16:05:10', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105370812416', 'TPL0000', 'dept_id', '归属单位', 'A', 'X1', '0', '0', '0', '1', NULL, NULL, NULL, 93, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":32}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', 'admin', '2024-12-14 14:59:10', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105387589632', 'TPL0000', 'tenant_id', '租户号', 'A', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 94, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105404366848', 'TPL0000', 'create_by', '创建人', 'A', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 95, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105421144064', 'TPL0000', 'create_time', '创建时间', 'C', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 96, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105437921280', 'TPL0000', 'update_by', '更新人', 'A', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 97, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105454698496', 'TPL0000', 'update_time', '更新时间', 'C', 'X1', '0', '0', '0', '0', NULL, NULL, NULL, 98, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867822105471475712', 'TPL0000', 'revision', '乐观锁', 'B', 'B0', '0', '0', '0', '0', NULL, NULL, NULL, 99, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, 0, 'admin', '2024-12-14 14:41:07', NULL, NULL, NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642614923264', 'GYS0001', 'uid', '主键ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys1', 'sys1', 1, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642631700480', 'GYS0001', 'pid', '上级ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys2', 'sys2', 2, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642640089088', 'GYS0001', 'mid', '主线ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys3', 'sys3', 3, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642652672000', 'GYS0001', 'mco', '厂商编码', 'A', 'A1', '1', '1', '1', '1', NULL, 'sys4', 'sys4', 4, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 1, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-14 20:44:25', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642665254912', 'GYS0001', 'cco', '分类编码', 'A', 'X1', '0', '1', '1', '1', NULL, 'sys5', 'sys5', 5, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642677837824', 'GYS0001', 'lco', '层级编码', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys6', 'sys6', 6, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642694615040', 'GYS0001', 'type_src', '来源类型', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys7', 'sys7', 7, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":10}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642707197952', 'GYS0001', 'mvs', '模型版本', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys80', 'sys80', 80, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642719780864', 'GYS0001', 'remark', '备注', 'A', 'A1', '1', '0', '1', '0', NULL, 'sys81', 'sys81', 81, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":300}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642728169472', 'GYS0001', 'vip_level', '访问级别', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys82', 'sys82', 82, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642740752384', 'GYS0001', 'dept_id', '归属单位', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys83', 'sys83', 83, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642749140992', 'GYS0001', 'tenant_id', '租户号', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys84', 'sys84', 84, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642757529600', 'GYS0001', 'create_by', '创建人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys85', 'sys85', 85, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642765918208', 'GYS0001', 'create_time', '创建时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys86', 'sys86', 86, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642774306816', 'GYS0001', 'update_by', '更新人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys87', 'sys87', 87, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642782695424', 'GYS0001', 'update_time', '更新时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys88', 'sys88', 88, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642791084032', 'GYS0001', 'task_id', '任务ID', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys89', 'sys89', 89, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642799472640', 'GYS0001', 'task_state', '任务运行态', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys90', 'sys90', 90, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642803666944', 'GYS0001', 'revision', '乐观锁', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys91', 'sys91', 91, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867913487217274880', 'GYS0001', 'csmc', '厂商名称', 'A', 'A1', '1', '1', '1', '1', NULL, 'h001', 'c01', 11, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 0, 0, 0, 'admin', '2024-12-14 20:44:14', 'admin', '2024-12-14 20:56:07', NULL, NULL);
INSERT INTO `dta_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867916296784392192', 'GYS0001', 'tyshxydm', '统一社会信用代码', 'A', 'A1', '1', '1', '1', '1', NULL, 'h002', 'c02', 20, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 0, 0, 0, 'admin', '2024-12-14 20:55:24', 'admin', '2024-12-14 20:55:58', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for dta_tpl_prop
-- ----------------------------
DROP TABLE IF EXISTS `dta_tpl_prop`;
CREATE TABLE `dta_tpl_prop` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `model_code` varchar(20) NOT NULL COMMENT '模型编码',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '数据类型;数据字典prop_data_type',
  `view_type` varchar(10) NOT NULL COMMENT '展示类型;数据字典prop_view_type',
  `src_type` varchar(10) NOT NULL COMMENT '来源类型;数据字典prop_source_type',
  `quick_sw` varchar(10) DEFAULT '0' COMMENT '快捷搜索',
  `advance_sw` varchar(10) DEFAULT '0' COMMENT '高级搜索',
  `view_sw` varchar(10) DEFAULT '0' COMMENT '列表显示',
  `hide_code` varchar(20) DEFAULT NULL COMMENT '隐藏编码',
  `col_code` varchar(10) DEFAULT NULL COMMENT '索引字段;数据库字段，查询使用',
  `col_num` int(11) DEFAULT 50 COMMENT '显示排序',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `edit_flag` int(11) DEFAULT 0 COMMENT '修改标记;0新增1变更2内置4停用',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据属性A';

-- ----------------------------
-- Records of dta_tpl_prop
-- ----------------------------
BEGIN;
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys1', 'TPL0000', 'uid', '主键ID', 'B', 'B0', '0', '0', '0', '0', 'sys1', 'sys1', 1, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys2', 'TPL0000', 'pid', '上级ID', 'B', 'B0', '0', '0', '0', '0', 'sys2', 'sys2', 2, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":20}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys3', 'TPL0000', 'mid', '主线ID', 'B', 'B0', '0', '0', '0', '0', 'sys3', 'sys3', 3, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys4', 'TPL0000', 'mco', '主编码', 'A', 'A1', '1', '1', '0', '1', 'sys4', 'sys4', 4, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 1, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys5', 'TPL0000', 'cco', '分类编码', 'A', 'X1', '0', '1', '1', '1', 'sys5', 'sys5', 5, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys6', 'TPL0000', 'lco', '层级编码', 'A', 'X1', '0', '0', '0', '0', 'sys6', 'sys6', 6, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":100}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys7', 'TPL0000', 'type_src', '来源类型', 'A', 'X1', '0', '0', '0', '1', 'sys7', 'sys7', 7, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":10}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys80', 'TPL0000', 'mvs', '模型版本', 'B', 'B0', '0', '0', '0', '1', 'sys80', 'sys80', 80, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys81', 'TPL0000', 'remark', '备注', 'A', 'A1', '1', '0', '1', '0', 'sys81', 'sys81', 81, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":300}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys82', 'TPL0000', 'vip_level', '访问级别', 'B', 'B0', '0', '0', '0', '0', 'sys82', 'sys82', 82, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys83', 'TPL0000', 'dept_id', '归属单位', 'A', 'X1', '0', '0', '0', '1', 'sys83', 'sys83', 83, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":32}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys84', 'TPL0000', 'tenant_id', '租户号', 'A', 'X1', '0', '0', '0', '0', 'sys84', 'sys84', 84, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys85', 'TPL0000', 'create_by', '创建人', 'A', 'X1', '0', '0', '0', '0', 'sys85', 'sys85', 85, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys86', 'TPL0000', 'create_time', '创建时间', 'C', 'X1', '0', '0', '0', '0', 'sys86', 'sys86', 86, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys87', 'TPL0000', 'update_by', '更新人', 'A', 'X1', '0', '0', '0', '0', 'sys87', 'sys87', 87, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys88', 'TPL0000', 'update_time', '更新时间', 'C', 'X1', '0', '0', '0', '0', 'sys88', 'sys88', 88, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys89', 'TPL0000', 'task_id', '任务ID', 'A', 'X1', '0', '0', '0', '1', 'sys89', 'sys89', 89, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys90', 'TPL0000', 'task_state', '任务运行态', 'B', 'B0', '0', '0', '0', '1', 'sys90', 'sys90', 90, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0);
INSERT INTO `dta_tpl_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`) VALUES ('sys91', 'TPL0000', 'revision', '乐观锁', 'B', 'B0', '0', '0', '0', '0', 'sys91', 'sys91', 91, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0);
COMMIT;

-- ----------------------------
-- Table structure for dtb_area
-- ----------------------------
DROP TABLE IF EXISTS `dtb_area`;
CREATE TABLE `dtb_area` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `parent_id` varchar(32) DEFAULT 'NULL' COMMENT '父级ID',
  `ancestors` varchar(500) DEFAULT 'NULL' COMMENT '祖级列表',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `vip_level` int(11) DEFAULT NULL COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT 'NULL' COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT 'NULL' COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT 'NULL' COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT 'NULL' COMMENT '备注',
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='资产主题';

-- ----------------------------
-- Records of dtb_area
-- ----------------------------
BEGIN;
INSERT INTO `dtb_area` (`uid`, `parent_id`, `ancestors`, `code`, `name`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('A1865732013262823424', 'NULL', 'NULL', 'TEST01', '测试主题', 0, 'admin', '2024-12-08 20:15:50', 'NULL', NULL, 'NULL', 'NULL');
COMMIT;

-- ----------------------------
-- Table structure for dtb_model
-- ----------------------------
DROP TABLE IF EXISTS `dtb_model`;
CREATE TABLE `dtb_model` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '类型;数据字典sys_def_type',
  `area_code` varchar(20) NOT NULL COMMENT '主题编码',
  `slave_sw` varchar(10) DEFAULT NULL COMMENT '扩展标记',
  `classify_sw` varchar(10) DEFAULT NULL COMMENT '支持分类',
  `class_prop_sw` varchar(10) DEFAULT NULL COMMENT '属性模板',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;主分类，主模型',
  `audit_flag` int(11) DEFAULT 0 COMMENT '审核标记',
  `reject_flag` int(11) DEFAULT 0 COMMENT '回退标记',
  `state_json` varchar(2000) DEFAULT NULL COMMENT '状态JSON',
  `menu_json` varchar(2000) DEFAULT NULL COMMENT '环节JSON',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  `vip_level` int(11) DEFAULT NULL COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据模型B';

-- ----------------------------
-- Records of dtb_model
-- ----------------------------
BEGIN;
INSERT INTO `dtb_model` (`uid`, `code`, `name`, `data_type`, `area_code`, `slave_sw`, `classify_sw`, `class_prop_sw`, `link_code`, `audit_flag`, `reject_flag`, `state_json`, `menu_json`, `swt_json`, `ext_json`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('M1867898642543620096', 'GYS0001', '供应商0001', 'A', 'TEST01', '0', '0', '0', NULL, 4, 0, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-17 19:39:29', NULL, '供应商也可以是厂商');
COMMIT;

-- ----------------------------
-- Table structure for dtb_prop
-- ----------------------------
DROP TABLE IF EXISTS `dtb_prop`;
CREATE TABLE `dtb_prop` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `model_code` varchar(20) NOT NULL COMMENT '模型编码',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '数据类型;数据字典prop_data_type',
  `view_type` varchar(10) NOT NULL COMMENT '展示类型;数据字典prop_view_type',
  `src_type` varchar(10) NOT NULL COMMENT '来源类型;数据字典prop_source_type',
  `quick_sw` varchar(10) DEFAULT '0' COMMENT '快捷搜索',
  `advance_sw` varchar(10) DEFAULT '0' COMMENT '高级搜索',
  `view_sw` varchar(10) DEFAULT '0' COMMENT '列表显示',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;数据来源模型',
  `hide_code` varchar(20) DEFAULT NULL COMMENT '隐藏编码',
  `col_code` varchar(10) DEFAULT NULL COMMENT '索引字段;数据库字段，查询使用',
  `col_num` int(11) DEFAULT 50 COMMENT '显示排序',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `edit_flag` int(11) DEFAULT 0 COMMENT '修改标记;0新增1变更2内置4停用',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  `vip_level` int(11) DEFAULT 0 COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`),
  KEY `idx_propb_mcode` (`model_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据属性B';

-- ----------------------------
-- Records of dtb_prop
-- ----------------------------
BEGIN;
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642614923264', 'GYS0001', 'uid', '主键ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys1', 'sys1', 1, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642631700480', 'GYS0001', 'pid', '上级ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys2', 'sys2', 2, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642640089088', 'GYS0001', 'mid', '主线ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys3', 'sys3', 3, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642652672000', 'GYS0001', 'mco', '厂商编码', 'A', 'A1', '1', '1', '1', '1', NULL, 'sys4', 'sys4', 4, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 1, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-14 20:44:25', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642665254912', 'GYS0001', 'cco', '分类编码', 'A', 'X1', '0', '1', '1', '1', NULL, 'sys5', 'sys5', 5, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642677837824', 'GYS0001', 'lco', '层级编码', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys6', 'sys6', 6, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642694615040', 'GYS0001', 'type_src', '来源类型', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys7', 'sys7', 7, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":10}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642707197952', 'GYS0001', 'mvs', '模型版本', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys80', 'sys80', 80, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642719780864', 'GYS0001', 'remark', '备注', 'A', 'A1', '1', '0', '1', '0', NULL, 'sys81', 'sys81', 81, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":300}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642728169472', 'GYS0001', 'vip_level', '访问级别', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys82', 'sys82', 82, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642740752384', 'GYS0001', 'dept_id', '归属单位', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys83', 'sys83', 83, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642749140992', 'GYS0001', 'tenant_id', '租户号', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys84', 'sys84', 84, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642757529600', 'GYS0001', 'create_by', '创建人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys85', 'sys85', 85, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642765918208', 'GYS0001', 'create_time', '创建时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys86', 'sys86', 86, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642774306816', 'GYS0001', 'update_by', '更新人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys87', 'sys87', 87, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642782695424', 'GYS0001', 'update_time', '更新时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys88', 'sys88', 88, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642791084032', 'GYS0001', 'task_id', '任务ID', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys89', 'sys89', 89, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642799472640', 'GYS0001', 'task_state', '任务运行态', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys90', 'sys90', 90, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642803666944', 'GYS0001', 'revision', '乐观锁', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys91', 'sys91', 91, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867913487217274880', 'GYS0001', 'csmc', '厂商名称', 'A', 'A1', '1', '1', '1', '1', NULL, 'h001', 'c01', 11, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 0, 0, 0, 'admin', '2024-12-14 20:44:14', 'admin', '2024-12-14 20:56:07', NULL, NULL);
INSERT INTO `dtb_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867916296784392192', 'GYS0001', 'tyshxydm', '统一社会信用代码', 'A', 'A1', '1', '1', '1', '1', NULL, 'h002', 'c02', 20, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 0, 0, 0, 'admin', '2024-12-14 20:55:24', 'admin', '2024-12-14 20:55:58', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for dtc_model
-- ----------------------------
DROP TABLE IF EXISTS `dtc_model`;
CREATE TABLE `dtc_model` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '类型;数据字典sys_def_type',
  `area_code` varchar(20) NOT NULL COMMENT '主题编码',
  `slave_sw` varchar(10) DEFAULT NULL COMMENT '扩展标记',
  `classify_sw` varchar(10) DEFAULT NULL COMMENT '支持分类',
  `class_prop_sw` varchar(10) DEFAULT NULL COMMENT '属性模板',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;主分类，主模型',
  `audit_flag` int(11) DEFAULT 0 COMMENT '审核标记',
  `reject_flag` int(11) DEFAULT 0 COMMENT '回退标记',
  `state_json` varchar(2000) DEFAULT NULL COMMENT '状态JSON',
  `menu_json` varchar(2000) DEFAULT NULL COMMENT '环节JSON',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `version` int(11) NOT NULL COMMENT '版本号',
  `vip_level` int(11) DEFAULT 0 COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`,`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据模型C';

-- ----------------------------
-- Records of dtc_model
-- ----------------------------
BEGIN;
INSERT INTO `dtc_model` (`uid`, `code`, `name`, `data_type`, `area_code`, `slave_sw`, `classify_sw`, `class_prop_sw`, `link_code`, `audit_flag`, `reject_flag`, `state_json`, `menu_json`, `swt_json`, `ext_json`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('M1867898642543620096', 'GYS0001', '供应商0001', 'A', 'TEST01', '0', '0', '0', NULL, 4, 0, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-17 19:39:29', NULL, '供应商也可以是厂商');
COMMIT;

-- ----------------------------
-- Table structure for dtc_prop
-- ----------------------------
DROP TABLE IF EXISTS `dtc_prop`;
CREATE TABLE `dtc_prop` (
  `uid` varchar(32) NOT NULL COMMENT '主键ID',
  `model_code` varchar(20) NOT NULL COMMENT '模型编码',
  `code` varchar(20) NOT NULL COMMENT '编码',
  `name` varchar(50) NOT NULL COMMENT '名称',
  `data_type` varchar(10) NOT NULL COMMENT '数据类型;数据字典prop_data_type',
  `view_type` varchar(10) NOT NULL COMMENT '展示类型;数据字典prop_view_type',
  `src_type` varchar(10) NOT NULL COMMENT '来源类型;数据字典prop_source_type',
  `quick_sw` varchar(10) DEFAULT '0' COMMENT '快捷搜索',
  `advance_sw` varchar(10) DEFAULT '0' COMMENT '高级搜索',
  `view_sw` varchar(10) DEFAULT '0' COMMENT '列表显示',
  `link_code` varchar(20) DEFAULT NULL COMMENT '引用编码;数据来源模型',
  `hide_code` varchar(20) DEFAULT NULL COMMENT '隐藏编码',
  `col_code` varchar(10) DEFAULT NULL COMMENT '索引字段;数据库字段，查询使用',
  `col_num` int(11) DEFAULT 50 COMMENT '显示排序',
  `swt_json` varchar(2000) DEFAULT NULL COMMENT '开关JSON',
  `ext_json` varchar(2000) DEFAULT NULL COMMENT '扩展JSON',
  `edit_flag` int(11) DEFAULT 0 COMMENT '修改标记;0新增1变更2内置4停用',
  `version` int(11) NOT NULL DEFAULT 0 COMMENT '版本号',
  `vip_level` int(11) DEFAULT 0 COMMENT 'VIP级别',
  `create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(32) DEFAULT NULL COMMENT '分公司ID',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`uid`,`version`),
  KEY `idx_propc_mcode` (`model_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据属性C';

-- ----------------------------
-- Records of dtc_prop
-- ----------------------------
BEGIN;
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642614923264', 'GYS0001', 'uid', '主键ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys1', 'sys1', 1, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642631700480', 'GYS0001', 'pid', '上级ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys2', 'sys2', 2, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642640089088', 'GYS0001', 'mid', '主线ID', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys3', 'sys3', 3, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":20}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642652672000', 'GYS0001', 'mco', '厂商编码', 'A', 'A1', '1', '1', '1', '1', NULL, 'sys4', 'sys4', 4, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 1, 0, 0, 'admin', '2024-12-14 19:45:14', 'admin', '2024-12-14 20:44:25', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642665254912', 'GYS0001', 'cco', '分类编码', 'A', 'X1', '0', '1', '1', '1', NULL, 'sys5', 'sys5', 5, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642677837824', 'GYS0001', 'lco', '层级编码', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys6', 'sys6', 6, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":100}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642694615040', 'GYS0001', 'type_src', '来源类型', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys7', 'sys7', 7, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":10}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642707197952', 'GYS0001', 'mvs', '模型版本', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys80', 'sys80', 80, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642719780864', 'GYS0001', 'remark', '备注', 'A', 'A1', '1', '0', '1', '0', NULL, 'sys81', 'sys81', 81, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":300}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642728169472', 'GYS0001', 'vip_level', '访问级别', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys82', 'sys82', 82, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642740752384', 'GYS0001', 'dept_id', '归属单位', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys83', 'sys83', 83, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642749140992', 'GYS0001', 'tenant_id', '租户号', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys84', 'sys84', 84, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642757529600', 'GYS0001', 'create_by', '创建人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys85', 'sys85', 85, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642765918208', 'GYS0001', 'create_time', '创建时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys86', 'sys86', 86, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642774306816', 'GYS0001', 'update_by', '更新人', 'A', 'X1', '0', '0', '0', '0', NULL, 'sys87', 'sys87', 87, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\",\"maxLen\":32}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642782695424', 'GYS0001', 'update_time', '更新时间', 'C', 'X1', '0', '0', '0', '0', NULL, 'sys88', 'sys88', 88, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642791084032', 'GYS0001', 'task_id', '任务ID', 'A', 'X1', '0', '0', '0', '1', NULL, 'sys89', 'sys89', 89, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642799472640', 'GYS0001', 'task_state', '任务运行态', 'B', 'B0', '0', '0', '0', '1', NULL, 'sys90', 'sys90', 90, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"decLen\":0,\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867898642803666944', 'GYS0001', 'revision', '乐观锁', 'B', 'B0', '0', '0', '0', '0', NULL, 'sys91', 'sys91', 91, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"searchType\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"decLen\":0,\"prefixType\":\"0\",\"notNvl\":\"0\"}', 3, 0, NULL, 'admin', '2024-12-14 19:45:14', NULL, '2024-12-14 19:45:14', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867913487217274880', 'GYS0001', 'csmc', '厂商名称', 'A', 'A1', '1', '1', '1', '1', NULL, 'h001', 'c01', 11, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"1\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":100}', 0, 0, 0, 'admin', '2024-12-14 20:44:14', 'admin', '2024-12-14 20:56:07', NULL, NULL);
INSERT INTO `dtc_prop` (`uid`, `model_code`, `code`, `name`, `data_type`, `view_type`, `src_type`, `quick_sw`, `advance_sw`, `view_sw`, `link_code`, `hide_code`, `col_code`, `col_num`, `swt_json`, `ext_json`, `edit_flag`, `version`, `vip_level`, `create_by`, `create_time`, `update_by`, `update_time`, `tenant_id`, `remark`) VALUES ('P1867916296784392192', 'GYS0001', 'tyshxydm', '统一社会信用代码', 'A', 'A1', '1', '1', '1', '1', NULL, 'h002', 'c02', 20, '{\"fullSw\":\"0\",\"shortSw\":\"0\",\"longSw\":\"0\"}', '{\"prefixType\":\"0\",\"searchType\":\"0\",\"notNvl\":\"0\",\"suffixType\":\"0\",\"defaultType\":\"0\",\"maxLen\":50}', 0, 0, 0, 'admin', '2024-12-14 20:55:24', 'admin', '2024-12-14 20:55:58', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int(5) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-07 09:10:10', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-03-04 13:38:13', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-03-04 13:38:13', '', NULL, '深色主题theme-dark，浅色主题theme-light');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'false', 'Y', 'admin', '2022-03-04 13:38:13', 'admin', '2023-07-13 09:35:43', '是否开启验证码功能（true开启，false关闭）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2022-03-04 13:38:13', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint(20) DEFAULT 0 COMMENT '父部门id',
  `ancestors` varchar(50) DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) DEFAULT '' COMMENT '部门名称',
  `order_num` int(4) DEFAULT 0 COMMENT '显示顺序',
  `leader` varchar(20) DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) DEFAULT NULL COMMENT '邮箱',
  `status` char(1) DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, 0, '0', '小瓜科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-07 10:47:30');
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int(4) DEFAULT 0 COMMENT '字典排序',
  `dict_label` varchar(100) DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '性别男');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '性别女');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '性别未知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '显示菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '默认分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '系统分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '系统默认是');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '系统默认否');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '通知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '公告');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '关闭状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (18, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '新增操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (19, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '修改操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (20, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '删除操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (21, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '授权操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (22, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '导出操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (23, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '导入操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (24, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '强退操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (25, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '生成操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (26, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '清空操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (27, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (28, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, 1, '普通列表', 'A', 'sys_def_type', NULL, 'info', 'N', '0', 'admin', '2022-03-07 09:14:40', 'admin', '2022-03-17 10:58:17', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, 2, '普通层级', 'B', 'sys_def_type', NULL, 'primary', 'N', '0', 'admin', '2022-03-07 09:15:31', 'admin', '2022-03-17 10:58:27', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, 3, '唯一扩展', 'C', 'sys_def_type', NULL, 'warning', 'N', '0', 'admin', '2022-03-07 09:23:43', 'admin', '2022-03-17 10:59:27', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, 1, 'VIP1', '1', 'sys_user_vip', NULL, 'default', 'N', '0', 'admin', '2022-03-08 10:19:05', 'admin', '2022-03-08 10:19:31', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, 2, 'VIP2', '2', 'sys_user_vip', NULL, 'default', 'N', '0', 'admin', '2022-03-08 10:19:26', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, 3, 'VIP3', '3', 'sys_user_vip', NULL, 'default', 'N', '0', 'admin', '2022-03-08 10:19:41', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, 4, 'VIP4', '4', 'sys_user_vip', NULL, 'default', 'N', '0', 'admin', '2022-03-08 10:20:01', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, 5, '绿区用户', '5', 'sys_user_vip', NULL, 'success', 'N', '0', 'admin', '2022-03-08 10:21:13', 'admin', '2022-03-08 10:22:24', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (110, 6, '黄区用户', '6', 'sys_user_vip', NULL, 'warning', 'N', '0', 'admin', '2022-03-08 10:21:37', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (111, 9, '红区用户', '9', 'sys_user_vip', NULL, 'danger', 'N', '0', 'admin', '2022-03-08 10:22:08', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (112, 0, '默认级别', '0', 'sys_user_vip', NULL, 'default', 'N', '0', 'admin', '2022-03-08 10:36:37', 'admin', '2022-03-15 11:06:46', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (113, 4, '多值扩展', 'D', 'sys_def_type', NULL, 'warning', 'N', '0', 'admin', '2022-03-17 10:59:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (114, 1, '否', '0', 'sys_def_switch', NULL, 'warning', 'N', '0', 'admin', '2022-03-23 15:08:59', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (115, 2, '是', '1', 'sys_def_switch', NULL, 'primary', 'N', '0', 'admin', '2022-03-23 15:09:14', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (116, 0, '字符', 'A', 'prop_data_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:20:55', 'admin', '2022-03-29 14:22:07', '字符串');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (117, 1, '数值', 'B', 'prop_data_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:21:44', '', NULL, '整数、小数');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (118, 2, '日期', 'C', 'prop_data_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:22:47', '', NULL, '日期、时间');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (119, 5, '文件', 'D', 'prop_data_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:24:33', 'admin', '2022-03-29 14:28:36', '大文本、图片');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (120, 0, '只读', 'X1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:32:03', 'admin', '2022-03-29 14:49:24', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (121, 12, '下拉选项', 'A2', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:32:36', 'admin', '2022-03-29 14:41:25', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (122, 18, '弹框选择', 'A8', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:32:59', 'admin', '2022-03-30 16:52:20', '配置引用模型');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (123, 34, '日期选择', 'C0', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:33:19', 'admin', '2022-03-29 14:40:02', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (124, 35, '时间选择', 'C1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:33:57', 'admin', '2022-03-29 14:40:07', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (125, 36, '日期时间', 'C2', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:34:18', 'admin', '2022-03-29 14:40:11', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (126, 11, '键盘输入', 'A1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:35:24', 'admin', '2022-03-29 14:40:18', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (127, 13, '下拉搜索', 'A3', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:41:45', 'admin', '2022-03-30 16:52:15', '配置引用模型');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (128, 20, '整数输入', 'B0', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:43:46', 'admin', '2022-03-29 14:43:54', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (129, 21, '小数输入', 'B1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:44:16', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (130, 40, '大文本', 'D0', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:45:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (131, 41, '图片', 'D1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:46:29', '', NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (132, 1, '手动输入', '1', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:51:11', 'admin', '2022-04-22 14:05:44', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (133, 2, '自定义', '2', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:52:29', 'admin', '2022-04-22 14:19:12', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (134, 3, '数据字典', '3', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:52:46', 'admin', '2022-04-22 14:19:19', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (135, 4, '引用模型', '4', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 14:53:06', 'admin', '2022-04-22 14:06:31', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (136, 50, '单选按钮', 'E0', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 15:07:15', 'admin', '2022-03-29 15:10:34', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (137, 51, '多选按钮', 'E1', 'prop_view_type', NULL, 'default', 'N', '0', 'admin', '2022-03-29 15:07:50', 'admin', '2022-03-29 15:10:52', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (138, 0, '无需输入', '0', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-04-22 14:05:36', 'admin', '2022-04-22 14:07:45', NULL);
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (140, 5, '编码规则', '5', 'prop_source_type', NULL, 'default', 'N', '0', 'admin', '2022-04-22 14:09:16', 'admin', '2022-04-22 14:14:55', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`) USING BTREE,
  UNIQUE KEY `dict_type` (`dict_type`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '用户性别列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '系统开关列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '任务状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '任务分组列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '系统是否列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '通知类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '通知状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '登录状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '数据定义类型', 'sys_def_type', '0', 'admin', '2022-03-07 09:13:00', 'admin', '2022-03-29 14:15:38', '模型的类型');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '数据访问级别', 'sys_user_vip', '0', 'admin', '2022-03-08 10:16:44', 'admin', '2022-03-29 14:16:20', '用户的会员级别，数据的访问级别');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '数据定义开关', 'sys_def_switch', '0', 'admin', '2022-03-23 15:07:11', 'admin', '2022-03-29 14:16:08', NULL);
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '属性数据类型', 'prop_data_type', '0', 'admin', '2022-03-29 14:15:10', '', NULL, NULL);
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '属性展示类型', 'prop_view_type', '0', 'admin', '2022-03-29 14:17:09', '', NULL, NULL);
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '属性来源类型', 'prop_source_type', '0', 'admin', '2022-03-29 14:18:38', 'admin', '2022-03-29 14:20:06', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(128) DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) DEFAULT '' COMMENT '操作系统',
  `status` char(1) DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
  `parent_id` bigint(20) DEFAULT 0 COMMENT '父菜单ID',
  `order_num` int(4) DEFAULT 0 COMMENT '显示顺序',
  `path` varchar(200) DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) DEFAULT NULL COMMENT '路由参数',
  `is_frame` int(1) DEFAULT 1 COMMENT '是否为外链（0是 1否）',
  `is_cache` int(1) DEFAULT 0 COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2012 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2022-03-04 13:38:13', '', NULL, '系统管理目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '若依官网*', 0, 4, 'http://ruoyi.vip', NULL, '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 15:03:38', '若依官网地址');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:38:55', '用户管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:01', '角色管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:07', '菜单管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:13', '部门管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:19', '岗位管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:24', '字典管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-08 13:39:29', '参数设置菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2022-03-04 13:38:13', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2000, '数据资产', 0, 2, 'module', NULL, NULL, 1, 0, 'M', '0', '0', '', 'build', 'admin', '2022-03-10 13:53:58', 'admin', '2024-12-17 12:52:49', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2002, '模型申请', 2000, 2, 'modelApply', 'module/model/index', '{\"p\":10}', 1, 0, 'C', '0', '0', 'module:model:index', 'form', 'admin', '2022-09-09 16:27:55', 'admin', '2023-07-25 16:28:41', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2004, '模型审核', 2000, 3, 'modelAudit', 'module/model/index', '{\"p\":20}', 1, 0, 'C', '0', '0', 'module:model:index', 'link', 'admin', '2023-07-25 16:27:33', 'admin', '2023-07-25 16:28:50', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2005, '模型发布', 2000, 4, 'modelDeploy', 'module/model/index', '{\"p\":30}', 1, 0, 'C', '0', '0', 'module:model:index', 'guide', 'admin', '2023-07-25 16:30:18', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2006, '模型查询', 2000, 8, 'modelQuery', 'module/model/index', '{\"p\":40}', 1, 0, 'C', '0', '0', 'module:model:index', 'list', 'admin', '2023-07-25 16:32:43', 'admin', '2024-12-17 12:54:53', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2007, '数据中心', 0, 3, 'datax', NULL, NULL, 1, 0, 'M', '0', '0', '', 'redis', 'admin', '2024-12-17 12:51:46', 'admin', '2024-12-17 12:52:46', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2008, '供应商0001', 2007, 1, 'GYS0001', NULL, NULL, 1, 0, 'M', '0', '0', '', 'form', 'admin', '2024-12-17 12:59:07', 'admin', '2024-12-17 12:59:20', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2009, '供应商001申请', 2008, 1, 'apply', 'data/apply/index', '{\"a\":\"TEST01\",\"c\":\"GYS0001\"}', 1, 0, 'C', '0', '0', '', 'edit', 'admin', '2024-12-17 13:09:36', 'admin', '2024-12-17 13:14:50', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2010, '供应商0001审核', 2008, 2, 'audit', 'data/audit/index', '{\"a\":\"TEST01\",\"c\":\"GYS0001\"}', 1, 0, 'C', '0', '0', '', 'peoples', 'admin', '2024-12-17 13:11:57', 'admin', '2024-12-17 13:14:54', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2011, '供应商001查询', 2008, 3, 'query', 'data/query/index', '{\"a\":\"TEST01\",\"c\":\"GYS0001\"}', 1, 0, 'C', '0', '0', '', 'eye-open', 'admin', '2024-12-17 13:13:05', 'admin', '2024-12-17 13:14:59', '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int(4) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) NOT NULL COMMENT '公告标题',
  `notice_type` char(1) NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob DEFAULT NULL COMMENT '公告内容',
  `status` char(1) DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '温馨提醒：2020-07-01 若依新版本发布啦', '2', 0xE696B0E78988E69CACE58685E5AEB9, '0', 'admin', '2022-03-04 13:38:14', 'admin', '2022-03-07 14:17:37', '管理员');
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '维护通知：2018-07-01 若依系统凌晨维护', '1', 0xE7BBB4E68AA4E58685E5AEB9, '0', 'admin', '2022-03-04 13:38:14', '', NULL, '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) DEFAULT '' COMMENT '模块标题',
  `business_type` int(2) DEFAULT 0 COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) DEFAULT '' COMMENT '请求方式',
  `operator_type` int(1) DEFAULT 0 COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) DEFAULT '' COMMENT '返回参数',
  `status` int(1) DEFAULT 0 COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`oper_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) NOT NULL COMMENT '岗位名称',
  `post_sort` int(4) NOT NULL COMMENT '显示顺序',
  `status` char(1) NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 'ceo', '董事长', 1, '0', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-07 13:53:24', '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2022-03-04 13:38:13', '', NULL, '');
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2022-03-04 13:38:13', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) NOT NULL COMMENT '角色权限字符串',
  `role_sort` int(4) NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) DEFAULT 1 COMMENT '部门树选择项是否关联显示',
  `status` char(1) NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2022-03-04 13:38:13', '', NULL, '超级管理员');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '普通角色', 'common', 2, '5', 1, 1, '0', '0', 'admin', '2022-03-04 13:38:13', 'admin', '2022-09-09 16:32:42', '普通角色');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `dept_id` bigint(20) NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 4);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 100);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 101);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 102);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 103);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 104);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 105);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 106);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1001);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1002);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1003);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1004);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1005);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1006);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1007);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1008);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1009);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1010);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1011);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1012);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1013);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1014);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1015);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1016);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1017);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1018);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1019);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1020);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1021);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1022);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1023);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1024);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1025);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1026);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1027);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1028);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1029);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1030);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1031);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1032);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1033);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1034);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1035);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1036);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1037);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1038);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 1039);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2000);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2002);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) DEFAULT '' COMMENT '手机号码',
  `sex` char(1) DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) DEFAULT '' COMMENT '密码',
  `vip_level` int(6) DEFAULT 0 COMMENT '用户级别（字典sys_user_vip）',
  `status` char(1) DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `vip_level`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 103, 'admin', '瓜瓜', '00', 'ry@163.com', '15888888888', '1', '', '667c756cf9334e328a56e44e906245c8e214c655a160f18fdb84d79c209c49cf', 0, '0', '0', '127.0.0.1', '2024-12-18 20:21:04', 'admin', '2022-03-04 13:38:13', '', '2024-12-18 12:21:04', '管理员');
INSERT INTO `sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `vip_level`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '667c756cf9334e328a56e44e906245c8e214c655a160f18fdb84d79c209c49cf', 1, '0', '0', '127.0.0.1', '2022-03-04 13:38:13', 'admin', '2022-03-04 13:38:13', 'admin', '2022-03-23 11:14:22', '测试员');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `post_id` bigint(20) NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (1, 1);
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (1, 1);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (2, 2);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
